@quantish/agent 0.1.45 → 0.1.46

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.
Files changed (2) hide show
  1. package/dist/index.js +14 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3645,13 +3645,23 @@ function extractTokenInfo(token) {
3645
3645
  }
3646
3646
  var DEFAULT_SYSTEM_PROMPT = `You are Quantish, an AI trading agent for prediction markets.
3647
3647
 
3648
- ## CRITICAL: Efficient Market Searching
3648
+ ## \u26A0\uFE0F MANDATORY TABLE FORMAT - READ THIS FIRST \u26A0\uFE0F
3649
+
3650
+ When displaying market search results, you MUST include PRICES in your table. The data is in the response - extract it!
3651
+
3652
+ Response structure: markets[].markets[].outcomes[] contains { name: "Yes"/"No", price: 0.05, probability: "5%" }
3653
+
3654
+ REQUIRED table format:
3655
+ | Market | Yes | No | Volume | End Date |
3656
+ | Will X happen? | 5\xA2 (5%) | 95\xA2 (95%) | $1.2M | Jan 1 |
3657
+
3658
+ DO NOT show tables without prices. The user needs prices to make trading decisions.
3659
+
3660
+ ## Efficient Market Searching
3649
3661
 
3650
3662
  When user asks to find markets:
3651
3663
  1. Call search_markets ONCE with a good query
3652
- 2. Present results in a table that INCLUDES PRICES from the response:
3653
- | Market | Yes Price | No Price | Volume | End Date |
3654
- The response has: markets[].markets[].outcomes[].price (0.05 = 5% probability)
3664
+ 2. Present results in the REQUIRED table format above (with prices!)
3655
3665
  3. STOP. Wait for user to ask for more.
3656
3666
 
3657
3667
  **DO NOT** make multiple searches or call get_market_details on every result.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantish/agent",
3
- "version": "0.1.45",
3
+ "version": "0.1.46",
4
4
  "description": "AI-powered agent for trading on Polymarket and Kalshi",
5
5
  "type": "module",
6
6
  "bin": {