composio-scavio 0.6.0 → 0.6.1

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/dist/index.cjs CHANGED
@@ -126,6 +126,8 @@ function buildScavioToolkit(options = {}) {
126
126
  enableCapterra = false,
127
127
  enableGoogleAds = false,
128
128
  enableMetaAds = false,
129
+ enableHeb = false,
130
+ enableKroger = false,
129
131
  enableCrawl = false,
130
132
  pollIntervalMs = JOB_POLL_INTERVAL_MS,
131
133
  all = false
@@ -2480,6 +2482,67 @@ function buildScavioToolkit(options = {}) {
2480
2482
  )
2481
2483
  );
2482
2484
  }
2485
+ if (all || enableHeb) {
2486
+ tools.push(
2487
+ tool(
2488
+ "HEB_SEARCH",
2489
+ "Scavio HEB Search",
2490
+ "Search HEB grocery products: price in cents, sale status, unit price, size, UPC, stock, EBT/SNAP eligibility, aisle location and product URL. Costs 2 credits.",
2491
+ import_zod.z.object({
2492
+ query: str("Search keywords (1-200 characters)."),
2493
+ page: onum("Results page, 1-based (1-100)."),
2494
+ page_size: onum("Results per page, 1-60. Server default 30.")
2495
+ }),
2496
+ (i) => client.heb.search(i)
2497
+ ),
2498
+ tool(
2499
+ "HEB_PRODUCT",
2500
+ "Scavio HEB Product",
2501
+ "Full HEB product detail: nutrition facts, ingredients, description, images, similar products, coupons, EBT/SNAP eligibility and breadcrumbs. Pass product_url (from search) or slug + product_id. Costs 2 credits.",
2502
+ import_zod.z.object({
2503
+ product_url: ostr("Full or relative product URL from heb.com. Preferred over slug + product_id."),
2504
+ product_id: ostr("HEB product id (numeric id at the end of a product URL). Requires slug."),
2505
+ slug: ostr("Product slug (readable part of the URL). Required with product_id.")
2506
+ }),
2507
+ (i) => client.heb.product(i)
2508
+ ),
2509
+ tool(
2510
+ "HEB_STORES",
2511
+ "Scavio HEB Stores",
2512
+ "HEB stores near a US ZIP code or city: store number, address, phone, hours, pharmacy availability, fulfillment channels, distance and store URL. Pass zip or city. Costs 2 credits.",
2513
+ import_zod.z.object({
2514
+ zip: ostr("5-digit US ZIP code (e.g. '78701')."),
2515
+ city: ostr("City name (e.g. 'Austin'). Pass zip or city.")
2516
+ }),
2517
+ (i) => client.heb.stores(i)
2518
+ )
2519
+ );
2520
+ }
2521
+ if (all || enableKroger) {
2522
+ tools.push(
2523
+ tool(
2524
+ "KROGER_SEARCH",
2525
+ "Scavio Kroger Search",
2526
+ "Search Kroger grocery products: price in cents, promo price, n-for deals, unit price, size, UPC, stock, SNAP eligibility, dietary info, rating and category. Kroger operates Kroger, Ralphs, Fred Meyer, Harris Teeter, King Soopers and Fry's. Costs 2 credits.",
2527
+ import_zod.z.object({
2528
+ query: str("Search keywords (1-200 characters)."),
2529
+ page: onum("Results page, 1-based (1-100).")
2530
+ }),
2531
+ (i) => client.kroger.search(i)
2532
+ ),
2533
+ tool(
2534
+ "KROGER_PRODUCT",
2535
+ "Scavio Kroger Product",
2536
+ "Full Kroger product detail by URL or UPC: nutrition facts, allergens, ingredients, nutrients with daily values, description, images, rating distribution, store aisle, stock, dietary flags, SNAP eligibility, dimensions and country of origin. Costs 2 credits.",
2537
+ import_zod.z.object({
2538
+ product_url: ostr("Full or relative product URL from kroger.com. Preferred."),
2539
+ upc: ostr("Kroger product UPC (from search or product URLs: /p/{slug}/{upc})."),
2540
+ slug: ostr("Product slug for readable URL. Optional with upc.")
2541
+ }),
2542
+ (i) => client.kroger.product(i)
2543
+ )
2544
+ );
2545
+ }
2483
2546
  if (all || enableExtract) {
2484
2547
  tools.push(
2485
2548
  tool(
@@ -2583,7 +2646,7 @@ function buildScavioToolkit(options = {}) {
2583
2646
  }
2584
2647
  return (0, import_core.experimental_createToolkit)("SCAVIO", {
2585
2648
  name: "Scavio",
2586
- description: "Real-time structured search over 31 platforms - Google (SERP, AI Mode, Maps, Shopping, Flights, Hotels, News, Trends), YouTube, Amazon, Walmart, eBay, Target, Home Depot, Reddit, TikTok, TikTok Shop, Instagram, X, LinkedIn, Threads, Kuaishou, Zillow, Redfin, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, the Apple App Store, Google Play, SEC EDGAR, Companies House, G2, Capterra, Google Ads Transparency and the Meta Ad Library - plus extract, which reads any URL as Markdown, plain text or raw HTML, and website map, crawl and batch extract.",
2649
+ description: "Real-time structured search over 33 platforms - Google (SERP, AI Mode, Maps, Shopping, Flights, Hotels, News, Trends), YouTube, Amazon, Walmart, eBay, Target, Home Depot, HEB, Kroger, Reddit, TikTok, TikTok Shop, Instagram, X, LinkedIn, Threads, Kuaishou, Zillow, Redfin, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, the Apple App Store, Google Play, SEC EDGAR, Companies House, G2, Capterra, Google Ads Transparency and the Meta Ad Library - plus extract, which reads any URL as Markdown, plain text or raw HTML, and website map, crawl and batch extract.",
2587
2650
  tools
2588
2651
  });
2589
2652
  }