@thisispandora/agent-sdk 0.1.0-alpha.10 → 0.1.0-alpha.12
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/generated/command-descriptors.json +822 -23
- package/generated/contract-registry.json +4539 -349
- package/generated/manifest.json +25 -22
- package/generated/mcp-tool-definitions.json +1760 -31
- package/package.json +1 -1
|
@@ -4055,7 +4055,633 @@
|
|
|
4055
4055
|
"summary": "Market command family help and routing entrypoint.",
|
|
4056
4056
|
"supportsRemote": false,
|
|
4057
4057
|
"supportsWebhook": false,
|
|
4058
|
-
"usage": "pandora [--output table|json] markets list|get|
|
|
4058
|
+
"usage": "pandora [--output table|json] markets list|get|mine|create plan|create run|scan ..."
|
|
4059
|
+
},
|
|
4060
|
+
"markets.create": {
|
|
4061
|
+
"agentWorkflow": {
|
|
4062
|
+
"executeRequiresValidation": true,
|
|
4063
|
+
"notes": [
|
|
4064
|
+
"Use markets.create.plan to normalize a launch payload into a JSON-safe agent contract.",
|
|
4065
|
+
"Legacy launch remains script-native; use markets.create.run for the canonical agent/MCP creation surface."
|
|
4066
|
+
],
|
|
4067
|
+
"recommendedTools": [
|
|
4068
|
+
"agent.market.autocomplete"
|
|
4069
|
+
],
|
|
4070
|
+
"requiredTools": [
|
|
4071
|
+
"agent.market.validate"
|
|
4072
|
+
]
|
|
4073
|
+
},
|
|
4074
|
+
"aliasOf": null,
|
|
4075
|
+
"canRunConcurrent": true,
|
|
4076
|
+
"canonicalCommandTokens": [
|
|
4077
|
+
"markets",
|
|
4078
|
+
"create"
|
|
4079
|
+
],
|
|
4080
|
+
"canonicalTool": "markets.create",
|
|
4081
|
+
"canonicalUsage": "pandora [--output table|json] markets create plan|run --question <text> --rules <text> --sources <url...> --target-timestamp <unix-seconds|iso> [--market-type amm|parimutuel] ...",
|
|
4082
|
+
"controlInputNames": [],
|
|
4083
|
+
"dataSchema": "#/definitions/GenericCommandData",
|
|
4084
|
+
"emits": [
|
|
4085
|
+
"markets.create.help",
|
|
4086
|
+
"markets.help"
|
|
4087
|
+
],
|
|
4088
|
+
"executeFlags": [],
|
|
4089
|
+
"executeIntentRequired": false,
|
|
4090
|
+
"executeIntentRequiredForLiveMode": false,
|
|
4091
|
+
"expectedLatencyMs": 5000,
|
|
4092
|
+
"externalDependencies": [
|
|
4093
|
+
"indexer-api"
|
|
4094
|
+
],
|
|
4095
|
+
"helpDataSchema": "#/definitions/CommandHelpPayload",
|
|
4096
|
+
"idempotency": "idempotent",
|
|
4097
|
+
"inputSchema": {
|
|
4098
|
+
"additionalProperties": false,
|
|
4099
|
+
"properties": {},
|
|
4100
|
+
"type": "object"
|
|
4101
|
+
},
|
|
4102
|
+
"jobCapable": false,
|
|
4103
|
+
"mcpExposed": true,
|
|
4104
|
+
"mcpLongRunningBlocked": false,
|
|
4105
|
+
"mcpMutating": false,
|
|
4106
|
+
"outputModes": [
|
|
4107
|
+
"table",
|
|
4108
|
+
"json"
|
|
4109
|
+
],
|
|
4110
|
+
"policyScopes": [
|
|
4111
|
+
"markets:read",
|
|
4112
|
+
"network:indexer"
|
|
4113
|
+
],
|
|
4114
|
+
"preferred": true,
|
|
4115
|
+
"recommendedPreflightTool": "agent.market.validate",
|
|
4116
|
+
"remoteEligible": true,
|
|
4117
|
+
"requiresSecrets": false,
|
|
4118
|
+
"returnsOperationId": false,
|
|
4119
|
+
"returnsRuntimeHandle": false,
|
|
4120
|
+
"riskLevel": "low",
|
|
4121
|
+
"safeEquivalent": null,
|
|
4122
|
+
"safeFlags": [],
|
|
4123
|
+
"summary": "Canonical JSON-safe market creation surface for agents and MCP clients. Legacy `launch` remains script-native.",
|
|
4124
|
+
"supportsRemote": true,
|
|
4125
|
+
"supportsWebhook": false,
|
|
4126
|
+
"usage": "pandora [--output table|json] markets create plan|run --question <text> --rules <text> --sources <url...> --target-timestamp <unix-seconds|iso> [--market-type amm|parimutuel] ..."
|
|
4127
|
+
},
|
|
4128
|
+
"markets.create.plan": {
|
|
4129
|
+
"agentWorkflow": {
|
|
4130
|
+
"executeRequiresValidation": false,
|
|
4131
|
+
"notes": [
|
|
4132
|
+
"Use agent.market.autocomplete when the question, rules, or target timestamp still need refinement before creation.",
|
|
4133
|
+
"markets.create.plan is the canonical JSON-safe planning surface; legacy launch remains script-native."
|
|
4134
|
+
],
|
|
4135
|
+
"recommendedTools": [
|
|
4136
|
+
"agent.market.autocomplete"
|
|
4137
|
+
],
|
|
4138
|
+
"requiredTools": []
|
|
4139
|
+
},
|
|
4140
|
+
"aliasOf": null,
|
|
4141
|
+
"canRunConcurrent": true,
|
|
4142
|
+
"canonicalCommandTokens": [
|
|
4143
|
+
"markets",
|
|
4144
|
+
"create",
|
|
4145
|
+
"plan"
|
|
4146
|
+
],
|
|
4147
|
+
"canonicalTool": "markets.create.plan",
|
|
4148
|
+
"canonicalUsage": "pandora [--output table|json] markets create plan --question <text> --rules <text> --sources <url...> --target-timestamp <unix-seconds|iso> --liquidity-usdc <n> [--market-type amm|parimutuel] [--category <id|name>] [--distribution-yes <parts>] [--distribution-no <parts>] [--distribution-yes-pct <pct>] [--distribution-no-pct <pct>] [--fee-tier <500-50000>] [--max-imbalance <n>] [--curve-flattener <1-11>] [--curve-offset <0-16777215>] [--chain-id <id>] [--rpc-url <url>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--arbiter <address>] [--min-close-lead-seconds <n>]",
|
|
4149
|
+
"controlInputNames": [],
|
|
4150
|
+
"dataSchema": "#/definitions/GenericCommandData",
|
|
4151
|
+
"emits": [
|
|
4152
|
+
"markets.create.plan",
|
|
4153
|
+
"markets.create.help",
|
|
4154
|
+
"markets.help"
|
|
4155
|
+
],
|
|
4156
|
+
"executeFlags": [],
|
|
4157
|
+
"executeIntentRequired": false,
|
|
4158
|
+
"executeIntentRequiredForLiveMode": false,
|
|
4159
|
+
"expectedLatencyMs": 5000,
|
|
4160
|
+
"externalDependencies": [
|
|
4161
|
+
"indexer-api",
|
|
4162
|
+
"chain-rpc"
|
|
4163
|
+
],
|
|
4164
|
+
"helpDataSchema": "#/definitions/CommandHelpPayload",
|
|
4165
|
+
"idempotency": "idempotent",
|
|
4166
|
+
"inputSchema": {
|
|
4167
|
+
"additionalProperties": false,
|
|
4168
|
+
"properties": {
|
|
4169
|
+
"arbiter": {
|
|
4170
|
+
"description": "Arbiter address.",
|
|
4171
|
+
"type": "string"
|
|
4172
|
+
},
|
|
4173
|
+
"category": {
|
|
4174
|
+
"description": "Category id or canonical category name.",
|
|
4175
|
+
"examples": [
|
|
4176
|
+
"Sports",
|
|
4177
|
+
"3"
|
|
4178
|
+
],
|
|
4179
|
+
"type": "string",
|
|
4180
|
+
"xPandora": {
|
|
4181
|
+
"acceptsIntegerStrings": true,
|
|
4182
|
+
"allowedCategoryNames": [
|
|
4183
|
+
"Politics",
|
|
4184
|
+
"Sports",
|
|
4185
|
+
"Finance",
|
|
4186
|
+
"Crypto",
|
|
4187
|
+
"Culture",
|
|
4188
|
+
"Technology",
|
|
4189
|
+
"Science",
|
|
4190
|
+
"Entertainment",
|
|
4191
|
+
"Health",
|
|
4192
|
+
"Environment",
|
|
4193
|
+
"Other"
|
|
4194
|
+
],
|
|
4195
|
+
"caseInsensitivePattern": "^(?:[pP][oO][lL][iI][tT][iI][cC][sS]|[sS][pP][oO][rR][tT][sS]|[fF][iI][nN][aA][nN][cC][eE]|[cC][rR][yY][pP][tT][oO]|[cC][uU][lL][tT][uU][rR][eE]|[tT][eE][cC][hH][nN][oO][lL][oO][gG][yY]|[sS][cC][iI][eE][nN][cC][eE]|[eE][nN][tT][eE][rR][tT][aA][iI][nN][mM][eE][nN][tT]|[hH][eE][aA][lL][tT][hH]|[eE][nN][vV][iI][rR][oO][nN][mM][eE][nN][tT]|[oO][tT][hH][eE][rR])$"
|
|
4196
|
+
}
|
|
4197
|
+
},
|
|
4198
|
+
"chain-id": {
|
|
4199
|
+
"description": "Chain id.",
|
|
4200
|
+
"minimum": 1,
|
|
4201
|
+
"type": "integer"
|
|
4202
|
+
},
|
|
4203
|
+
"curve-flattener": {
|
|
4204
|
+
"description": "Pari-mutuel curve flattener.",
|
|
4205
|
+
"maximum": 11,
|
|
4206
|
+
"minimum": 1,
|
|
4207
|
+
"type": "integer"
|
|
4208
|
+
},
|
|
4209
|
+
"curve-offset": {
|
|
4210
|
+
"description": "Pari-mutuel curve offset.",
|
|
4211
|
+
"maximum": 16777215,
|
|
4212
|
+
"minimum": 0,
|
|
4213
|
+
"type": "integer"
|
|
4214
|
+
},
|
|
4215
|
+
"distribution-no": {
|
|
4216
|
+
"description": "Initial NO distribution in parts-per-billion.",
|
|
4217
|
+
"maximum": 1000000000,
|
|
4218
|
+
"minimum": 0,
|
|
4219
|
+
"type": "integer"
|
|
4220
|
+
},
|
|
4221
|
+
"distribution-no-pct": {
|
|
4222
|
+
"description": "Initial NO distribution in percent.",
|
|
4223
|
+
"maximum": 100,
|
|
4224
|
+
"minimum": 0,
|
|
4225
|
+
"type": "number"
|
|
4226
|
+
},
|
|
4227
|
+
"distribution-yes": {
|
|
4228
|
+
"description": "Initial YES distribution in parts-per-billion.",
|
|
4229
|
+
"maximum": 1000000000,
|
|
4230
|
+
"minimum": 0,
|
|
4231
|
+
"type": "integer"
|
|
4232
|
+
},
|
|
4233
|
+
"distribution-yes-pct": {
|
|
4234
|
+
"description": "Initial YES distribution in percent.",
|
|
4235
|
+
"maximum": 100,
|
|
4236
|
+
"minimum": 0,
|
|
4237
|
+
"type": "number"
|
|
4238
|
+
},
|
|
4239
|
+
"factory": {
|
|
4240
|
+
"description": "Factory contract address.",
|
|
4241
|
+
"type": "string"
|
|
4242
|
+
},
|
|
4243
|
+
"fee-tier": {
|
|
4244
|
+
"description": "Fee tier in hundredths of a bip.",
|
|
4245
|
+
"maximum": 50000,
|
|
4246
|
+
"minimum": 500,
|
|
4247
|
+
"type": "integer"
|
|
4248
|
+
},
|
|
4249
|
+
"liquidity-usdc": {
|
|
4250
|
+
"description": "Initial liquidity amount in USDC.",
|
|
4251
|
+
"minimum": 0,
|
|
4252
|
+
"type": "number"
|
|
4253
|
+
},
|
|
4254
|
+
"market-type": {
|
|
4255
|
+
"description": "Market type.",
|
|
4256
|
+
"enum": [
|
|
4257
|
+
"amm",
|
|
4258
|
+
"parimutuel"
|
|
4259
|
+
]
|
|
4260
|
+
},
|
|
4261
|
+
"max-imbalance": {
|
|
4262
|
+
"description": "Maximum AMM price imbalance guard.",
|
|
4263
|
+
"maximum": 16777215,
|
|
4264
|
+
"minimum": 0,
|
|
4265
|
+
"type": "integer"
|
|
4266
|
+
},
|
|
4267
|
+
"min-close-lead-seconds": {
|
|
4268
|
+
"description": "Minimum required lead time before close.",
|
|
4269
|
+
"minimum": 1,
|
|
4270
|
+
"type": "integer"
|
|
4271
|
+
},
|
|
4272
|
+
"oracle": {
|
|
4273
|
+
"description": "Oracle contract address.",
|
|
4274
|
+
"type": "string"
|
|
4275
|
+
},
|
|
4276
|
+
"question": {
|
|
4277
|
+
"description": "Exact market question.",
|
|
4278
|
+
"type": "string"
|
|
4279
|
+
},
|
|
4280
|
+
"rpc-url": {
|
|
4281
|
+
"description": "RPC URL.",
|
|
4282
|
+
"type": "string"
|
|
4283
|
+
},
|
|
4284
|
+
"rules": {
|
|
4285
|
+
"description": "Exact resolution rules.",
|
|
4286
|
+
"type": "string"
|
|
4287
|
+
},
|
|
4288
|
+
"sources": {
|
|
4289
|
+
"description": "Source URL list.",
|
|
4290
|
+
"items": {
|
|
4291
|
+
"type": "string"
|
|
4292
|
+
},
|
|
4293
|
+
"type": "array"
|
|
4294
|
+
},
|
|
4295
|
+
"target-timestamp": {
|
|
4296
|
+
"description": "Resolution timestamp in unix seconds or ISO-8601 datetime.",
|
|
4297
|
+
"examples": [
|
|
4298
|
+
"1777777777",
|
|
4299
|
+
"2026-12-31T00:00:00Z"
|
|
4300
|
+
],
|
|
4301
|
+
"type": "string",
|
|
4302
|
+
"xPandora": {
|
|
4303
|
+
"acceptsIsoDatetime": true,
|
|
4304
|
+
"acceptsUnixSeconds": true
|
|
4305
|
+
}
|
|
4306
|
+
},
|
|
4307
|
+
"usdc": {
|
|
4308
|
+
"description": "Collateral token address.",
|
|
4309
|
+
"type": "string"
|
|
4310
|
+
}
|
|
4311
|
+
},
|
|
4312
|
+
"required": [
|
|
4313
|
+
"question",
|
|
4314
|
+
"rules",
|
|
4315
|
+
"sources",
|
|
4316
|
+
"target-timestamp",
|
|
4317
|
+
"liquidity-usdc"
|
|
4318
|
+
],
|
|
4319
|
+
"type": "object"
|
|
4320
|
+
},
|
|
4321
|
+
"jobCapable": false,
|
|
4322
|
+
"mcpExposed": true,
|
|
4323
|
+
"mcpLongRunningBlocked": false,
|
|
4324
|
+
"mcpMutating": false,
|
|
4325
|
+
"outputModes": [
|
|
4326
|
+
"table",
|
|
4327
|
+
"json"
|
|
4328
|
+
],
|
|
4329
|
+
"policyScopes": [
|
|
4330
|
+
"markets:read",
|
|
4331
|
+
"network:rpc",
|
|
4332
|
+
"network:indexer"
|
|
4333
|
+
],
|
|
4334
|
+
"preferred": true,
|
|
4335
|
+
"recommendedPreflightTool": null,
|
|
4336
|
+
"remoteEligible": true,
|
|
4337
|
+
"requiresSecrets": false,
|
|
4338
|
+
"returnsOperationId": false,
|
|
4339
|
+
"returnsRuntimeHandle": false,
|
|
4340
|
+
"riskLevel": "low",
|
|
4341
|
+
"safeEquivalent": null,
|
|
4342
|
+
"safeFlags": [],
|
|
4343
|
+
"summary": "Normalize a market creation payload for agents and MCP clients. Legacy `launch` remains script-native.",
|
|
4344
|
+
"supportsRemote": true,
|
|
4345
|
+
"supportsWebhook": false,
|
|
4346
|
+
"usage": "pandora [--output table|json] markets create plan --question <text> --rules <text> --sources <url...> --target-timestamp <unix-seconds|iso> --liquidity-usdc <n> [--market-type amm|parimutuel] [--category <id|name>] [--distribution-yes <parts>] [--distribution-no <parts>] [--distribution-yes-pct <pct>] [--distribution-no-pct <pct>] [--fee-tier <500-50000>] [--max-imbalance <n>] [--curve-flattener <1-11>] [--curve-offset <0-16777215>] [--chain-id <id>] [--rpc-url <url>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--arbiter <address>] [--min-close-lead-seconds <n>]"
|
|
4347
|
+
},
|
|
4348
|
+
"markets.create.run": {
|
|
4349
|
+
"agentWorkflow": {
|
|
4350
|
+
"executeRequiresValidation": true,
|
|
4351
|
+
"notes": [
|
|
4352
|
+
"Run agent.market.validate on the exact final market payload before execute mode.",
|
|
4353
|
+
"Legacy launch remains script-native; markets.create.run is the canonical agent/MCP market creation surface."
|
|
4354
|
+
],
|
|
4355
|
+
"recommendedTools": [
|
|
4356
|
+
"agent.market.autocomplete"
|
|
4357
|
+
],
|
|
4358
|
+
"requiredTools": [
|
|
4359
|
+
"agent.market.validate"
|
|
4360
|
+
]
|
|
4361
|
+
},
|
|
4362
|
+
"aliasOf": null,
|
|
4363
|
+
"canRunConcurrent": false,
|
|
4364
|
+
"canonicalCommandTokens": [
|
|
4365
|
+
"markets",
|
|
4366
|
+
"create",
|
|
4367
|
+
"run"
|
|
4368
|
+
],
|
|
4369
|
+
"canonicalTool": "markets.create.run",
|
|
4370
|
+
"canonicalUsage": "pandora [--output table|json] markets create run --question <text> --rules <text> --sources <url...> --target-timestamp <unix-seconds|iso> --liquidity-usdc <n> [--market-type amm|parimutuel] [--category <id|name>] [--distribution-yes <parts>] [--distribution-no <parts>] [--distribution-yes-pct <pct>] [--distribution-no-pct <pct>] [--fee-tier <500-50000>] [--max-imbalance <n>] [--curve-flattener <1-11>] [--curve-offset <0-16777215>] [--dry-run|--execute] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--arbiter <address>] [--validation-ticket <ticket>] [--min-close-lead-seconds <n>]",
|
|
4371
|
+
"controlInputNames": [
|
|
4372
|
+
"agentPreflight"
|
|
4373
|
+
],
|
|
4374
|
+
"dataSchema": "#/definitions/GenericCommandData",
|
|
4375
|
+
"emits": [
|
|
4376
|
+
"markets.create.run",
|
|
4377
|
+
"markets.create.help",
|
|
4378
|
+
"markets.help"
|
|
4379
|
+
],
|
|
4380
|
+
"executeFlags": [
|
|
4381
|
+
"--execute"
|
|
4382
|
+
],
|
|
4383
|
+
"executeIntentRequired": false,
|
|
4384
|
+
"executeIntentRequiredForLiveMode": true,
|
|
4385
|
+
"expectedLatencyMs": 60000,
|
|
4386
|
+
"externalDependencies": [
|
|
4387
|
+
"wallet-secrets",
|
|
4388
|
+
"indexer-api",
|
|
4389
|
+
"chain-rpc"
|
|
4390
|
+
],
|
|
4391
|
+
"helpDataSchema": "#/definitions/CommandHelpPayload",
|
|
4392
|
+
"idempotency": "conditional",
|
|
4393
|
+
"inputSchema": {
|
|
4394
|
+
"additionalProperties": false,
|
|
4395
|
+
"properties": {
|
|
4396
|
+
"agentPreflight": {
|
|
4397
|
+
"additionalProperties": false,
|
|
4398
|
+
"description": "Agent validation attestation for execute mode.",
|
|
4399
|
+
"properties": {
|
|
4400
|
+
"autocompleteTicket": {
|
|
4401
|
+
"description": "Optional ticket from agent.market.autocomplete when the agent drafted the market.",
|
|
4402
|
+
"type": "string"
|
|
4403
|
+
},
|
|
4404
|
+
"validationDecision": {
|
|
4405
|
+
"description": "Validation verdict from the agent AI run.",
|
|
4406
|
+
"enum": [
|
|
4407
|
+
"PASS",
|
|
4408
|
+
"FAIL"
|
|
4409
|
+
]
|
|
4410
|
+
},
|
|
4411
|
+
"validationSummary": {
|
|
4412
|
+
"description": "Short summary of the validation result.",
|
|
4413
|
+
"type": "string"
|
|
4414
|
+
},
|
|
4415
|
+
"validationTicket": {
|
|
4416
|
+
"description": "Ticket returned by agent.market.validate for the exact market payload.",
|
|
4417
|
+
"type": "string"
|
|
4418
|
+
}
|
|
4419
|
+
},
|
|
4420
|
+
"required": [
|
|
4421
|
+
"validationTicket",
|
|
4422
|
+
"validationDecision",
|
|
4423
|
+
"validationSummary"
|
|
4424
|
+
],
|
|
4425
|
+
"type": "object"
|
|
4426
|
+
},
|
|
4427
|
+
"arbiter": {
|
|
4428
|
+
"description": "Arbiter address.",
|
|
4429
|
+
"type": "string"
|
|
4430
|
+
},
|
|
4431
|
+
"category": {
|
|
4432
|
+
"description": "Category id or canonical category name.",
|
|
4433
|
+
"examples": [
|
|
4434
|
+
"Sports",
|
|
4435
|
+
"3"
|
|
4436
|
+
],
|
|
4437
|
+
"type": "string",
|
|
4438
|
+
"xPandora": {
|
|
4439
|
+
"acceptsIntegerStrings": true,
|
|
4440
|
+
"allowedCategoryNames": [
|
|
4441
|
+
"Politics",
|
|
4442
|
+
"Sports",
|
|
4443
|
+
"Finance",
|
|
4444
|
+
"Crypto",
|
|
4445
|
+
"Culture",
|
|
4446
|
+
"Technology",
|
|
4447
|
+
"Science",
|
|
4448
|
+
"Entertainment",
|
|
4449
|
+
"Health",
|
|
4450
|
+
"Environment",
|
|
4451
|
+
"Other"
|
|
4452
|
+
],
|
|
4453
|
+
"caseInsensitivePattern": "^(?:[pP][oO][lL][iI][tT][iI][cC][sS]|[sS][pP][oO][rR][tT][sS]|[fF][iI][nN][aA][nN][cC][eE]|[cC][rR][yY][pP][tT][oO]|[cC][uU][lL][tT][uU][rR][eE]|[tT][eE][cC][hH][nN][oO][lL][oO][gG][yY]|[sS][cC][iI][eE][nN][cC][eE]|[eE][nN][tT][eE][rR][tT][aA][iI][nN][mM][eE][nN][tT]|[hH][eE][aA][lL][tT][hH]|[eE][nN][vV][iI][rR][oO][nN][mM][eE][nN][tT]|[oO][tT][hH][eE][rR])$"
|
|
4454
|
+
}
|
|
4455
|
+
},
|
|
4456
|
+
"chain-id": {
|
|
4457
|
+
"description": "Chain id.",
|
|
4458
|
+
"minimum": 1,
|
|
4459
|
+
"type": "integer"
|
|
4460
|
+
},
|
|
4461
|
+
"curve-flattener": {
|
|
4462
|
+
"description": "Pari-mutuel curve flattener.",
|
|
4463
|
+
"maximum": 11,
|
|
4464
|
+
"minimum": 1,
|
|
4465
|
+
"type": "integer"
|
|
4466
|
+
},
|
|
4467
|
+
"curve-offset": {
|
|
4468
|
+
"description": "Pari-mutuel curve offset.",
|
|
4469
|
+
"maximum": 16777215,
|
|
4470
|
+
"minimum": 0,
|
|
4471
|
+
"type": "integer"
|
|
4472
|
+
},
|
|
4473
|
+
"distribution-no": {
|
|
4474
|
+
"description": "Initial NO distribution in parts-per-billion.",
|
|
4475
|
+
"maximum": 1000000000,
|
|
4476
|
+
"minimum": 0,
|
|
4477
|
+
"type": "integer"
|
|
4478
|
+
},
|
|
4479
|
+
"distribution-no-pct": {
|
|
4480
|
+
"description": "Initial NO distribution in percent.",
|
|
4481
|
+
"maximum": 100,
|
|
4482
|
+
"minimum": 0,
|
|
4483
|
+
"type": "number"
|
|
4484
|
+
},
|
|
4485
|
+
"distribution-yes": {
|
|
4486
|
+
"description": "Initial YES distribution in parts-per-billion.",
|
|
4487
|
+
"maximum": 1000000000,
|
|
4488
|
+
"minimum": 0,
|
|
4489
|
+
"type": "integer"
|
|
4490
|
+
},
|
|
4491
|
+
"distribution-yes-pct": {
|
|
4492
|
+
"description": "Initial YES distribution in percent.",
|
|
4493
|
+
"maximum": 100,
|
|
4494
|
+
"minimum": 0,
|
|
4495
|
+
"type": "number"
|
|
4496
|
+
},
|
|
4497
|
+
"dry-run": {
|
|
4498
|
+
"description": "Run dry-run mode.",
|
|
4499
|
+
"type": "boolean"
|
|
4500
|
+
},
|
|
4501
|
+
"execute": {
|
|
4502
|
+
"description": "Execute live creation.",
|
|
4503
|
+
"type": "boolean"
|
|
4504
|
+
},
|
|
4505
|
+
"factory": {
|
|
4506
|
+
"description": "Factory contract address.",
|
|
4507
|
+
"type": "string"
|
|
4508
|
+
},
|
|
4509
|
+
"fee-tier": {
|
|
4510
|
+
"description": "Fee tier in hundredths of a bip.",
|
|
4511
|
+
"maximum": 50000,
|
|
4512
|
+
"minimum": 500,
|
|
4513
|
+
"type": "integer"
|
|
4514
|
+
},
|
|
4515
|
+
"intent": {
|
|
4516
|
+
"additionalProperties": false,
|
|
4517
|
+
"properties": {
|
|
4518
|
+
"execute": {
|
|
4519
|
+
"description": "Set true to permit live/mutating execution when supported by the tool.",
|
|
4520
|
+
"type": "boolean"
|
|
4521
|
+
}
|
|
4522
|
+
},
|
|
4523
|
+
"type": "object"
|
|
4524
|
+
},
|
|
4525
|
+
"liquidity-usdc": {
|
|
4526
|
+
"description": "Initial liquidity amount in USDC.",
|
|
4527
|
+
"minimum": 0,
|
|
4528
|
+
"type": "number"
|
|
4529
|
+
},
|
|
4530
|
+
"market-type": {
|
|
4531
|
+
"description": "Market type.",
|
|
4532
|
+
"enum": [
|
|
4533
|
+
"amm",
|
|
4534
|
+
"parimutuel"
|
|
4535
|
+
]
|
|
4536
|
+
},
|
|
4537
|
+
"max-imbalance": {
|
|
4538
|
+
"description": "Maximum AMM price imbalance guard.",
|
|
4539
|
+
"maximum": 16777215,
|
|
4540
|
+
"minimum": 0,
|
|
4541
|
+
"type": "integer"
|
|
4542
|
+
},
|
|
4543
|
+
"min-close-lead-seconds": {
|
|
4544
|
+
"description": "Minimum required lead time before close.",
|
|
4545
|
+
"minimum": 1,
|
|
4546
|
+
"type": "integer"
|
|
4547
|
+
},
|
|
4548
|
+
"oracle": {
|
|
4549
|
+
"description": "Oracle contract address.",
|
|
4550
|
+
"type": "string"
|
|
4551
|
+
},
|
|
4552
|
+
"private-key": {
|
|
4553
|
+
"description": "Hex private key.",
|
|
4554
|
+
"type": "string"
|
|
4555
|
+
},
|
|
4556
|
+
"profile-file": {
|
|
4557
|
+
"description": "Path to a signer profile file.",
|
|
4558
|
+
"type": "string"
|
|
4559
|
+
},
|
|
4560
|
+
"profile-id": {
|
|
4561
|
+
"description": "Named signer profile id.",
|
|
4562
|
+
"type": "string"
|
|
4563
|
+
},
|
|
4564
|
+
"question": {
|
|
4565
|
+
"description": "Exact market question.",
|
|
4566
|
+
"type": "string"
|
|
4567
|
+
},
|
|
4568
|
+
"rpc-url": {
|
|
4569
|
+
"description": "RPC URL.",
|
|
4570
|
+
"type": "string"
|
|
4571
|
+
},
|
|
4572
|
+
"rules": {
|
|
4573
|
+
"description": "Exact resolution rules.",
|
|
4574
|
+
"type": "string"
|
|
4575
|
+
},
|
|
4576
|
+
"sources": {
|
|
4577
|
+
"description": "Source URL list.",
|
|
4578
|
+
"items": {
|
|
4579
|
+
"type": "string"
|
|
4580
|
+
},
|
|
4581
|
+
"type": "array"
|
|
4582
|
+
},
|
|
4583
|
+
"target-timestamp": {
|
|
4584
|
+
"description": "Resolution timestamp in unix seconds or ISO-8601 datetime.",
|
|
4585
|
+
"examples": [
|
|
4586
|
+
"1777777777",
|
|
4587
|
+
"2026-12-31T00:00:00Z"
|
|
4588
|
+
],
|
|
4589
|
+
"type": "string",
|
|
4590
|
+
"xPandora": {
|
|
4591
|
+
"acceptsIsoDatetime": true,
|
|
4592
|
+
"acceptsUnixSeconds": true
|
|
4593
|
+
}
|
|
4594
|
+
},
|
|
4595
|
+
"usdc": {
|
|
4596
|
+
"description": "Collateral token address.",
|
|
4597
|
+
"type": "string"
|
|
4598
|
+
},
|
|
4599
|
+
"validation-ticket": {
|
|
4600
|
+
"description": "Ticket returned by agent.market.validate for the exact final payload (CLI execute mode).",
|
|
4601
|
+
"type": "string"
|
|
4602
|
+
}
|
|
4603
|
+
},
|
|
4604
|
+
"required": [
|
|
4605
|
+
"question",
|
|
4606
|
+
"rules",
|
|
4607
|
+
"sources",
|
|
4608
|
+
"target-timestamp",
|
|
4609
|
+
"liquidity-usdc"
|
|
4610
|
+
],
|
|
4611
|
+
"type": "object",
|
|
4612
|
+
"xPandora": {
|
|
4613
|
+
"exclusiveOneOf": [
|
|
4614
|
+
{
|
|
4615
|
+
"not": {
|
|
4616
|
+
"anyOf": [
|
|
4617
|
+
{
|
|
4618
|
+
"required": [
|
|
4619
|
+
"execute"
|
|
4620
|
+
]
|
|
4621
|
+
},
|
|
4622
|
+
{
|
|
4623
|
+
"required": [
|
|
4624
|
+
"execute"
|
|
4625
|
+
]
|
|
4626
|
+
}
|
|
4627
|
+
]
|
|
4628
|
+
},
|
|
4629
|
+
"required": [
|
|
4630
|
+
"dry-run"
|
|
4631
|
+
]
|
|
4632
|
+
},
|
|
4633
|
+
{
|
|
4634
|
+
"not": {
|
|
4635
|
+
"anyOf": [
|
|
4636
|
+
{
|
|
4637
|
+
"required": [
|
|
4638
|
+
"dry-run"
|
|
4639
|
+
]
|
|
4640
|
+
},
|
|
4641
|
+
{
|
|
4642
|
+
"required": [
|
|
4643
|
+
"dry-run"
|
|
4644
|
+
]
|
|
4645
|
+
}
|
|
4646
|
+
]
|
|
4647
|
+
},
|
|
4648
|
+
"required": [
|
|
4649
|
+
"execute"
|
|
4650
|
+
]
|
|
4651
|
+
}
|
|
4652
|
+
]
|
|
4653
|
+
}
|
|
4654
|
+
},
|
|
4655
|
+
"jobCapable": true,
|
|
4656
|
+
"mcpExposed": true,
|
|
4657
|
+
"mcpLongRunningBlocked": false,
|
|
4658
|
+
"mcpMutating": true,
|
|
4659
|
+
"outputModes": [
|
|
4660
|
+
"table",
|
|
4661
|
+
"json"
|
|
4662
|
+
],
|
|
4663
|
+
"policyScopes": [
|
|
4664
|
+
"markets:run",
|
|
4665
|
+
"secrets:use",
|
|
4666
|
+
"network:rpc",
|
|
4667
|
+
"network:indexer",
|
|
4668
|
+
"jobs:run"
|
|
4669
|
+
],
|
|
4670
|
+
"preferred": true,
|
|
4671
|
+
"recommendedPreflightTool": "agent.market.validate",
|
|
4672
|
+
"remoteEligible": true,
|
|
4673
|
+
"requiresSecrets": true,
|
|
4674
|
+
"returnsOperationId": false,
|
|
4675
|
+
"returnsRuntimeHandle": false,
|
|
4676
|
+
"riskLevel": "high",
|
|
4677
|
+
"safeEquivalent": null,
|
|
4678
|
+
"safeFlags": [
|
|
4679
|
+
"--dry-run"
|
|
4680
|
+
],
|
|
4681
|
+
"summary": "Dry-run or execute a canonical JSON-safe market creation payload. Legacy `launch` remains script-native.",
|
|
4682
|
+
"supportsRemote": true,
|
|
4683
|
+
"supportsWebhook": false,
|
|
4684
|
+
"usage": "pandora [--output table|json] markets create run --question <text> --rules <text> --sources <url...> --target-timestamp <unix-seconds|iso> --liquidity-usdc <n> [--market-type amm|parimutuel] [--category <id|name>] [--distribution-yes <parts>] [--distribution-no <parts>] [--distribution-yes-pct <pct>] [--distribution-no-pct <pct>] [--fee-tier <500-50000>] [--max-imbalance <n>] [--curve-flattener <1-11>] [--curve-offset <0-16777215>] [--dry-run|--execute] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>] [--oracle <address>] [--factory <address>] [--usdc <address>] [--arbiter <address>] [--validation-ticket <ticket>] [--min-close-lead-seconds <n>]"
|
|
4059
4685
|
},
|
|
4060
4686
|
"markets.get": {
|
|
4061
4687
|
"agentWorkflow": null,
|
|
@@ -8999,7 +9625,7 @@
|
|
|
8999
9625
|
"replay"
|
|
9000
9626
|
],
|
|
9001
9627
|
"canonicalTool": "mirror.replay",
|
|
9002
|
-
"canonicalUsage": "pandora [--output table|json] mirror replay --state-file <path>|--strategy-hash <hash>|
|
|
9628
|
+
"canonicalUsage": "pandora [--output table|json] mirror replay --state-file <path>|--strategy-hash <hash>|[--pandora-market-address <address>|--market-address <address>] [--polymarket-market-id <id>|--polymarket-slug <slug>] [--limit <n>]",
|
|
9003
9629
|
"controlInputNames": [],
|
|
9004
9630
|
"dataSchema": "#/definitions/GenericCommandData",
|
|
9005
9631
|
"emits": [
|
|
@@ -9111,7 +9737,7 @@
|
|
|
9111
9737
|
"summary": "Replay persisted mirror execution history against modeled rebalance and hedge outcomes using the append-only audit log, or lastExecution fallback when no ledger exists.",
|
|
9112
9738
|
"supportsRemote": true,
|
|
9113
9739
|
"supportsWebhook": false,
|
|
9114
|
-
"usage": "pandora [--output table|json] mirror replay --state-file <path>|--strategy-hash <hash>|
|
|
9740
|
+
"usage": "pandora [--output table|json] mirror replay --state-file <path>|--strategy-hash <hash>|[--pandora-market-address <address>|--market-address <address>] [--polymarket-market-id <id>|--polymarket-slug <slug>] [--limit <n>]"
|
|
9115
9741
|
},
|
|
9116
9742
|
"mirror.simulate": {
|
|
9117
9743
|
"agentWorkflow": null,
|
|
@@ -17651,7 +18277,7 @@
|
|
|
17651
18277
|
"preflight"
|
|
17652
18278
|
],
|
|
17653
18279
|
"canonicalTool": "polymarket.preflight",
|
|
17654
|
-
"canonicalUsage": "pandora [--output table|json] polymarket preflight [--
|
|
18280
|
+
"canonicalUsage": "pandora [--output table|json] polymarket preflight [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]",
|
|
17655
18281
|
"controlInputNames": [],
|
|
17656
18282
|
"dataSchema": "#/definitions/PolymarketPayload",
|
|
17657
18283
|
"emits": [
|
|
@@ -17673,16 +18299,20 @@
|
|
|
17673
18299
|
"inputSchema": {
|
|
17674
18300
|
"additionalProperties": false,
|
|
17675
18301
|
"properties": {
|
|
17676
|
-
"
|
|
17677
|
-
"description": "
|
|
17678
|
-
"type": "
|
|
18302
|
+
"fork": {
|
|
18303
|
+
"description": "Run in fork mode.",
|
|
18304
|
+
"type": "boolean"
|
|
17679
18305
|
},
|
|
17680
|
-
"
|
|
17681
|
-
"description": "
|
|
18306
|
+
"fork-chain-id": {
|
|
18307
|
+
"description": "Fork chain id.",
|
|
18308
|
+
"type": "integer"
|
|
18309
|
+
},
|
|
18310
|
+
"fork-rpc-url": {
|
|
18311
|
+
"description": "Fork RPC URL.",
|
|
17682
18312
|
"type": "string"
|
|
17683
18313
|
},
|
|
17684
|
-
"
|
|
17685
|
-
"description": "Polymarket
|
|
18314
|
+
"funder": {
|
|
18315
|
+
"description": "Polymarket proxy wallet.",
|
|
17686
18316
|
"type": "string"
|
|
17687
18317
|
},
|
|
17688
18318
|
"private-key": {
|
|
@@ -17692,11 +18322,6 @@
|
|
|
17692
18322
|
"rpc-url": {
|
|
17693
18323
|
"description": "RPC URL.",
|
|
17694
18324
|
"type": "string"
|
|
17695
|
-
},
|
|
17696
|
-
"timeout-ms": {
|
|
17697
|
-
"description": "Request timeout in milliseconds.",
|
|
17698
|
-
"minimum": 1,
|
|
17699
|
-
"type": "integer"
|
|
17700
18325
|
}
|
|
17701
18326
|
},
|
|
17702
18327
|
"type": "object"
|
|
@@ -17727,7 +18352,7 @@
|
|
|
17727
18352
|
"summary": "Run strict Polymarket trade preflight checks.",
|
|
17728
18353
|
"supportsRemote": true,
|
|
17729
18354
|
"supportsWebhook": false,
|
|
17730
|
-
"usage": "pandora [--output table|json] polymarket preflight [--
|
|
18355
|
+
"usage": "pandora [--output table|json] polymarket preflight [--fork] [--fork-rpc-url <url>] [--fork-chain-id <id>] [--rpc-url <url>] [--private-key <hex>] [--funder <address>]"
|
|
17731
18356
|
},
|
|
17732
18357
|
"polymarket.trade": {
|
|
17733
18358
|
"agentWorkflow": null,
|
|
@@ -17764,11 +18389,11 @@
|
|
|
17764
18389
|
"properties": {
|
|
17765
18390
|
"amount-usdc": {
|
|
17766
18391
|
"description": "Trade notional in USDC.",
|
|
17767
|
-
"
|
|
18392
|
+
"exclusiveMinimum": 0,
|
|
17768
18393
|
"type": "number"
|
|
17769
18394
|
},
|
|
17770
18395
|
"condition-id": {
|
|
17771
|
-
"description": "Polymarket condition id.",
|
|
18396
|
+
"description": "Polymarket condition id or market id.",
|
|
17772
18397
|
"type": "string"
|
|
17773
18398
|
},
|
|
17774
18399
|
"dry-run": {
|
|
@@ -17851,10 +18476,93 @@
|
|
|
17851
18476
|
}
|
|
17852
18477
|
},
|
|
17853
18478
|
"required": [
|
|
17854
|
-
"token",
|
|
17855
18479
|
"amount-usdc"
|
|
17856
18480
|
],
|
|
17857
|
-
"type": "object"
|
|
18481
|
+
"type": "object",
|
|
18482
|
+
"xPandora": {
|
|
18483
|
+
"exclusiveOneOf": [
|
|
18484
|
+
{
|
|
18485
|
+
"not": {
|
|
18486
|
+
"anyOf": [
|
|
18487
|
+
{
|
|
18488
|
+
"required": [
|
|
18489
|
+
"execute"
|
|
18490
|
+
]
|
|
18491
|
+
},
|
|
18492
|
+
{
|
|
18493
|
+
"required": [
|
|
18494
|
+
"execute"
|
|
18495
|
+
]
|
|
18496
|
+
}
|
|
18497
|
+
]
|
|
18498
|
+
},
|
|
18499
|
+
"required": [
|
|
18500
|
+
"dry-run"
|
|
18501
|
+
]
|
|
18502
|
+
},
|
|
18503
|
+
{
|
|
18504
|
+
"not": {
|
|
18505
|
+
"anyOf": [
|
|
18506
|
+
{
|
|
18507
|
+
"required": [
|
|
18508
|
+
"dry-run"
|
|
18509
|
+
]
|
|
18510
|
+
},
|
|
18511
|
+
{
|
|
18512
|
+
"required": [
|
|
18513
|
+
"dry-run"
|
|
18514
|
+
]
|
|
18515
|
+
}
|
|
18516
|
+
]
|
|
18517
|
+
},
|
|
18518
|
+
"required": [
|
|
18519
|
+
"execute"
|
|
18520
|
+
]
|
|
18521
|
+
}
|
|
18522
|
+
],
|
|
18523
|
+
"requiredAnyOf": [
|
|
18524
|
+
{
|
|
18525
|
+
"required": [
|
|
18526
|
+
"token-id",
|
|
18527
|
+
"dry-run"
|
|
18528
|
+
]
|
|
18529
|
+
},
|
|
18530
|
+
{
|
|
18531
|
+
"required": [
|
|
18532
|
+
"token-id",
|
|
18533
|
+
"execute"
|
|
18534
|
+
]
|
|
18535
|
+
},
|
|
18536
|
+
{
|
|
18537
|
+
"required": [
|
|
18538
|
+
"condition-id",
|
|
18539
|
+
"token",
|
|
18540
|
+
"dry-run"
|
|
18541
|
+
]
|
|
18542
|
+
},
|
|
18543
|
+
{
|
|
18544
|
+
"required": [
|
|
18545
|
+
"condition-id",
|
|
18546
|
+
"token",
|
|
18547
|
+
"execute"
|
|
18548
|
+
]
|
|
18549
|
+
},
|
|
18550
|
+
{
|
|
18551
|
+
"required": [
|
|
18552
|
+
"slug",
|
|
18553
|
+
"token",
|
|
18554
|
+
"dry-run"
|
|
18555
|
+
]
|
|
18556
|
+
},
|
|
18557
|
+
{
|
|
18558
|
+
"required": [
|
|
18559
|
+
"slug",
|
|
18560
|
+
"token",
|
|
18561
|
+
"execute"
|
|
18562
|
+
]
|
|
18563
|
+
}
|
|
18564
|
+
]
|
|
18565
|
+
}
|
|
17858
18566
|
},
|
|
17859
18567
|
"jobCapable": false,
|
|
17860
18568
|
"mcpExposed": true,
|
|
@@ -20428,7 +21136,98 @@
|
|
|
20428
21136
|
"type": "boolean"
|
|
20429
21137
|
}
|
|
20430
21138
|
},
|
|
20431
|
-
"type": "object"
|
|
21139
|
+
"type": "object",
|
|
21140
|
+
"xPandora": {
|
|
21141
|
+
"exclusiveOneOf": [
|
|
21142
|
+
{
|
|
21143
|
+
"not": {
|
|
21144
|
+
"anyOf": [
|
|
21145
|
+
{
|
|
21146
|
+
"required": [
|
|
21147
|
+
"input"
|
|
21148
|
+
]
|
|
21149
|
+
},
|
|
21150
|
+
{
|
|
21151
|
+
"required": [
|
|
21152
|
+
"input"
|
|
21153
|
+
]
|
|
21154
|
+
},
|
|
21155
|
+
{
|
|
21156
|
+
"required": [
|
|
21157
|
+
"stdin"
|
|
21158
|
+
]
|
|
21159
|
+
},
|
|
21160
|
+
{
|
|
21161
|
+
"required": [
|
|
21162
|
+
"stdin"
|
|
21163
|
+
]
|
|
21164
|
+
}
|
|
21165
|
+
]
|
|
21166
|
+
},
|
|
21167
|
+
"required": [
|
|
21168
|
+
"observations-json"
|
|
21169
|
+
]
|
|
21170
|
+
},
|
|
21171
|
+
{
|
|
21172
|
+
"not": {
|
|
21173
|
+
"anyOf": [
|
|
21174
|
+
{
|
|
21175
|
+
"required": [
|
|
21176
|
+
"observations-json"
|
|
21177
|
+
]
|
|
21178
|
+
},
|
|
21179
|
+
{
|
|
21180
|
+
"required": [
|
|
21181
|
+
"observations-json"
|
|
21182
|
+
]
|
|
21183
|
+
},
|
|
21184
|
+
{
|
|
21185
|
+
"required": [
|
|
21186
|
+
"stdin"
|
|
21187
|
+
]
|
|
21188
|
+
},
|
|
21189
|
+
{
|
|
21190
|
+
"required": [
|
|
21191
|
+
"stdin"
|
|
21192
|
+
]
|
|
21193
|
+
}
|
|
21194
|
+
]
|
|
21195
|
+
},
|
|
21196
|
+
"required": [
|
|
21197
|
+
"input"
|
|
21198
|
+
]
|
|
21199
|
+
},
|
|
21200
|
+
{
|
|
21201
|
+
"not": {
|
|
21202
|
+
"anyOf": [
|
|
21203
|
+
{
|
|
21204
|
+
"required": [
|
|
21205
|
+
"observations-json"
|
|
21206
|
+
]
|
|
21207
|
+
},
|
|
21208
|
+
{
|
|
21209
|
+
"required": [
|
|
21210
|
+
"observations-json"
|
|
21211
|
+
]
|
|
21212
|
+
},
|
|
21213
|
+
{
|
|
21214
|
+
"required": [
|
|
21215
|
+
"input"
|
|
21216
|
+
]
|
|
21217
|
+
},
|
|
21218
|
+
{
|
|
21219
|
+
"required": [
|
|
21220
|
+
"input"
|
|
21221
|
+
]
|
|
21222
|
+
}
|
|
21223
|
+
]
|
|
21224
|
+
},
|
|
21225
|
+
"required": [
|
|
21226
|
+
"stdin"
|
|
21227
|
+
]
|
|
21228
|
+
}
|
|
21229
|
+
]
|
|
21230
|
+
}
|
|
20432
21231
|
},
|
|
20433
21232
|
"jobCapable": false,
|
|
20434
21233
|
"mcpExposed": true,
|
|
@@ -20993,7 +21792,7 @@
|
|
|
20993
21792
|
"--dry-run",
|
|
20994
21793
|
"--paper"
|
|
20995
21794
|
],
|
|
20996
|
-
"summary": "Execute or dry-run sports market creation.",
|
|
21795
|
+
"summary": "Execute or dry-run sports market creation; pari-mutuel execute remains unsupported.",
|
|
20997
21796
|
"supportsRemote": true,
|
|
20998
21797
|
"supportsWebhook": false,
|
|
20999
21798
|
"usage": "pandora [--output table|json] sports create run --event-id <id> [--market-type amm|parimutuel] [--category <id|name>] [--dry-run|--execute] [--liquidity-usdc <n>] [--chain-id <id>] [--rpc-url <url>] [--private-key <hex>|--profile-id <id>|--profile-file <path>]"
|