@thisispandora/agent-sdk 0.1.0-alpha.10 → 0.1.0-alpha.11

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.
@@ -8999,7 +8999,7 @@
8999
8999
  "replay"
9000
9000
  ],
9001
9001
  "canonicalTool": "mirror.replay",
9002
- "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>]",
9002
+ "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
9003
  "controlInputNames": [],
9004
9004
  "dataSchema": "#/definitions/GenericCommandData",
9005
9005
  "emits": [
@@ -9111,7 +9111,7 @@
9111
9111
  "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
9112
  "supportsRemote": true,
9113
9113
  "supportsWebhook": false,
9114
- "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>]"
9114
+ "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
9115
  },
9116
9116
  "mirror.simulate": {
9117
9117
  "agentWorkflow": null,
@@ -17651,7 +17651,7 @@
17651
17651
  "preflight"
17652
17652
  ],
17653
17653
  "canonicalTool": "polymarket.preflight",
17654
- "canonicalUsage": "pandora [--output table|json] polymarket preflight [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--private-key <hex>] [--funder <address>] [--rpc-url <url>]",
17654
+ "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
17655
  "controlInputNames": [],
17656
17656
  "dataSchema": "#/definitions/PolymarketPayload",
17657
17657
  "emits": [
@@ -17673,16 +17673,20 @@
17673
17673
  "inputSchema": {
17674
17674
  "additionalProperties": false,
17675
17675
  "properties": {
17676
- "funder": {
17677
- "description": "Polymarket proxy wallet.",
17678
- "type": "string"
17676
+ "fork": {
17677
+ "description": "Run in fork mode.",
17678
+ "type": "boolean"
17679
17679
  },
17680
- "polymarket-host": {
17681
- "description": "Polymarket host override.",
17680
+ "fork-chain-id": {
17681
+ "description": "Fork chain id.",
17682
+ "type": "integer"
17683
+ },
17684
+ "fork-rpc-url": {
17685
+ "description": "Fork RPC URL.",
17682
17686
  "type": "string"
17683
17687
  },
17684
- "polymarket-mock-url": {
17685
- "description": "Polymarket mock URL.",
17688
+ "funder": {
17689
+ "description": "Polymarket proxy wallet.",
17686
17690
  "type": "string"
17687
17691
  },
17688
17692
  "private-key": {
@@ -17692,11 +17696,6 @@
17692
17696
  "rpc-url": {
17693
17697
  "description": "RPC URL.",
17694
17698
  "type": "string"
17695
- },
17696
- "timeout-ms": {
17697
- "description": "Request timeout in milliseconds.",
17698
- "minimum": 1,
17699
- "type": "integer"
17700
17699
  }
17701
17700
  },
17702
17701
  "type": "object"
@@ -17727,7 +17726,7 @@
17727
17726
  "summary": "Run strict Polymarket trade preflight checks.",
17728
17727
  "supportsRemote": true,
17729
17728
  "supportsWebhook": false,
17730
- "usage": "pandora [--output table|json] polymarket preflight [--polymarket-host <url>] [--polymarket-mock-url <url>] [--timeout-ms <ms>] [--private-key <hex>] [--funder <address>] [--rpc-url <url>]"
17729
+ "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
17730
  },
17732
17731
  "polymarket.trade": {
17733
17732
  "agentWorkflow": null,
@@ -17764,11 +17763,11 @@
17764
17763
  "properties": {
17765
17764
  "amount-usdc": {
17766
17765
  "description": "Trade notional in USDC.",
17767
- "minimum": 0,
17766
+ "exclusiveMinimum": 0,
17768
17767
  "type": "number"
17769
17768
  },
17770
17769
  "condition-id": {
17771
- "description": "Polymarket condition id.",
17770
+ "description": "Polymarket condition id or market id.",
17772
17771
  "type": "string"
17773
17772
  },
17774
17773
  "dry-run": {
@@ -17851,10 +17850,93 @@
17851
17850
  }
17852
17851
  },
17853
17852
  "required": [
17854
- "token",
17855
17853
  "amount-usdc"
17856
17854
  ],
17857
- "type": "object"
17855
+ "type": "object",
17856
+ "xPandora": {
17857
+ "exclusiveOneOf": [
17858
+ {
17859
+ "not": {
17860
+ "anyOf": [
17861
+ {
17862
+ "required": [
17863
+ "execute"
17864
+ ]
17865
+ },
17866
+ {
17867
+ "required": [
17868
+ "execute"
17869
+ ]
17870
+ }
17871
+ ]
17872
+ },
17873
+ "required": [
17874
+ "dry-run"
17875
+ ]
17876
+ },
17877
+ {
17878
+ "not": {
17879
+ "anyOf": [
17880
+ {
17881
+ "required": [
17882
+ "dry-run"
17883
+ ]
17884
+ },
17885
+ {
17886
+ "required": [
17887
+ "dry-run"
17888
+ ]
17889
+ }
17890
+ ]
17891
+ },
17892
+ "required": [
17893
+ "execute"
17894
+ ]
17895
+ }
17896
+ ],
17897
+ "requiredAnyOf": [
17898
+ {
17899
+ "required": [
17900
+ "token-id",
17901
+ "dry-run"
17902
+ ]
17903
+ },
17904
+ {
17905
+ "required": [
17906
+ "token-id",
17907
+ "execute"
17908
+ ]
17909
+ },
17910
+ {
17911
+ "required": [
17912
+ "condition-id",
17913
+ "token",
17914
+ "dry-run"
17915
+ ]
17916
+ },
17917
+ {
17918
+ "required": [
17919
+ "condition-id",
17920
+ "token",
17921
+ "execute"
17922
+ ]
17923
+ },
17924
+ {
17925
+ "required": [
17926
+ "slug",
17927
+ "token",
17928
+ "dry-run"
17929
+ ]
17930
+ },
17931
+ {
17932
+ "required": [
17933
+ "slug",
17934
+ "token",
17935
+ "execute"
17936
+ ]
17937
+ }
17938
+ ]
17939
+ }
17858
17940
  },
17859
17941
  "jobCapable": false,
17860
17942
  "mcpExposed": true,
@@ -20428,7 +20510,98 @@
20428
20510
  "type": "boolean"
20429
20511
  }
20430
20512
  },
20431
- "type": "object"
20513
+ "type": "object",
20514
+ "xPandora": {
20515
+ "exclusiveOneOf": [
20516
+ {
20517
+ "not": {
20518
+ "anyOf": [
20519
+ {
20520
+ "required": [
20521
+ "input"
20522
+ ]
20523
+ },
20524
+ {
20525
+ "required": [
20526
+ "input"
20527
+ ]
20528
+ },
20529
+ {
20530
+ "required": [
20531
+ "stdin"
20532
+ ]
20533
+ },
20534
+ {
20535
+ "required": [
20536
+ "stdin"
20537
+ ]
20538
+ }
20539
+ ]
20540
+ },
20541
+ "required": [
20542
+ "observations-json"
20543
+ ]
20544
+ },
20545
+ {
20546
+ "not": {
20547
+ "anyOf": [
20548
+ {
20549
+ "required": [
20550
+ "observations-json"
20551
+ ]
20552
+ },
20553
+ {
20554
+ "required": [
20555
+ "observations-json"
20556
+ ]
20557
+ },
20558
+ {
20559
+ "required": [
20560
+ "stdin"
20561
+ ]
20562
+ },
20563
+ {
20564
+ "required": [
20565
+ "stdin"
20566
+ ]
20567
+ }
20568
+ ]
20569
+ },
20570
+ "required": [
20571
+ "input"
20572
+ ]
20573
+ },
20574
+ {
20575
+ "not": {
20576
+ "anyOf": [
20577
+ {
20578
+ "required": [
20579
+ "observations-json"
20580
+ ]
20581
+ },
20582
+ {
20583
+ "required": [
20584
+ "observations-json"
20585
+ ]
20586
+ },
20587
+ {
20588
+ "required": [
20589
+ "input"
20590
+ ]
20591
+ },
20592
+ {
20593
+ "required": [
20594
+ "input"
20595
+ ]
20596
+ }
20597
+ ]
20598
+ },
20599
+ "required": [
20600
+ "stdin"
20601
+ ]
20602
+ }
20603
+ ]
20604
+ }
20432
20605
  },
20433
20606
  "jobCapable": false,
20434
20607
  "mcpExposed": true,