LISTROVA 4.1.0 - Reseller autopilot for Poshmark (Chrome extension)

INSTALL / UPDATE
1. Unzip. Go to chrome://extensions and turn on Developer mode.
2. New install: click Load unpacked and choose the "posh-bot-ext" folder.
   Updating: copy these files over your old posh-bot-ext folder, then click the reload arrow. Settings and AI keys carry over.
3. Sign in to Poshmark in the same Chrome profile, open Listrova and click Detect.

PLANS (monthly / yearly)
- Lite   $3.99 / $43:  sharing, relisting, offers to likers (with minimum earnings), photos to listings (drafts).
- Elite  $7.99 / $87:  everything in Lite plus bundle offers, SEO relists (tags + measurements), draft rewrites,
                       Direct to list, cross-listing and Smart Search (everything in Listrova 3.0).
- Pro   $15.99 / $175: everything in Elite plus party sharing, AI CAPTCHA assist, inventory import, Promotions,
                       sales and inventory sync, sold-item alerts and delisting, and earnings and tax reports.
- The 7-day free trial unlocks the full Pro plan. After that, an active subscription is required to use Listrova.
  Features outside your plan are grayed out with a LITE/ELITE/PRO badge. Clicking one opens the upgrade picker.
- Listrova re-checks the subscription every 30 days. A monthly code gives 30 days and a yearly code gives 365.
  Renewing the same plan adds the new time on top of what's left.

SELLER WORKFLOW (subscriptions)
- The customer chooses a plan on the paywall. Subscribe opens PAY_URL?plan=pro&billing=m&install_id=LV-...
- After they pay, open listrova-seller-tools/license-generator.html (PRIVATE - never ship it).
  Paste their Install ID, pick the plan and billing period, and send them the 6-digit code. Codes last about 10 minutes.
- Optional: set LICENSE_API_URL in config.js to your payment server.
  Listrova then calls it every 30 days ({active, tier, expires_at}) and ends access automatically when a payment stops.
- Before publishing, set PAY_URL (and optionally SUPPORT_EMAIL) in config.js.

WHAT'S NEW IN 4.1
- Platforms: Whatnot added (sales sync, cross-listing, import). Kijiji is no longer beta.
  Every platform is now read like Poshmark: through your own signed-in session in a background tab, straight from
  the page's listing links and data. The AI is only used when a page has no listing links. "Check sign-in on all
  platforms" (Sales > Platforms) finds which ones you're signed in to; all signed-in platforms are read on every sync.
  Reads time out after 90 seconds with a clear message instead of staying on "Reading...".
- AI agents: switch models any time from the Model menu (filled automatically from your key). New aggregators:
  Together AI, Groq, DeepInfra, Fireworks, Hugging Face, AI/ML API, Requesty, Vercel AI Gateway, and any
  OpenAI-compatible gateway (custom base URL). "Other" lets you type any model name.
- Smart Search shows 50%+ matches (was 70%).
- Auto-delist (Sales > Inventory): opt-in checkbox; when an item sells on one platform, it's removed from your
  other platforms. Pick which platforms and the minimum title match. Alerts tab: one-click "Delist everywhere"
  per sold item and "Delist all". Sold-item notifications have a "Delist everywhere" button.
- Inventory report (.xlsx): 3 sheets - Total inventory, Sold inventory, Live inventory - with category,
  platforms listed on, cost price, listed price, status, platform sold on, fees and proceeds after fees.
  Enter cost prices per item in the Inventory tab.
- Tax estimate download (.xlsx): Tax estimate, Earnings by platform, Reporting thresholds, Sales detail.
- Photos to listings: background remover (built-in free mode for plain backgrounds, or remove.bg / Photoroom
  API keys). Per-photo button with Undo, or automatic before listing.
- Promote > Broadcast: mass bundle message using Poshmark's own My Shoppers tool (Select All > Add comment to
  bundle). Send now, Test run, or a scheduled pre-written message.
- Promote > Smart sale: the AI researches your closet and the season/holiday, picks the discount, writes a
  message inviting offers per your sales policy, and sends it with Broadcast. Price and days-listed thresholds;
  runs every 2 weeks, monthly, every 3 months, every season or every holiday.
- Subscription end: when the trial or subscription ends, all jobs stop, worker tabs close, and every open
  Listrova page resets to its default and asks for a valid plan.
- Poshmark inventory fallback: if the closet read fails, Listrova finds Seller Hub and reads its inventory page.
- Fixes: Promote "Generate setup" / "Find communities" no longer crash without an account; share buttons and
  "Check likes now" now show a result; Cross-list no longer hangs on "Loading your closet...".

WHAT'S NEW IN 4.0
- Sharing uses Poshmark's own bulk share (the same call as "Share to Followers"). "Share everything" bulk-shares the whole closet.
- Party sharing: every 20 minutes Listrova checks for a live Posh Party.
  It shares the listings that fit the party's theme, once per party.
- Relisting: a listing that fails 3 times is no longer relisted. Use Reset in Schedule to try those listings again.
- Offers: "Minimum earnings per offer" skips any offer (likers or bundles) that would earn less than the minimum.
  Earnings are estimated after Poshmark's fee and the shipping discount.
- CAPTCHA: you get a notification whenever a check halts a run, and the run retries 20 minutes later.
  Pro AI assist: Listrova opens Poshmark and arms a solver for 20 minutes.
  Share one listing to bring up the check, and the AI tries the reCAPTCHA image grid. If it fails, solve it by hand.
- Smart Search: shows each item's condition and hides listings whose photos don't show the product.
  Only 50%+ matches are shown. "Show hidden listings" reveals the rest.
- Import (Pro): reads your listings on Facebook Marketplace, eBay, Etsy, Vinted, Grailed, Mercari, Depop or Kijiji.
  The AI maps them to Poshmark categories, and they're saved as Poshmark drafts with all their photos.
- Cross-list: Kijiji (Canada) added as a platform.
- Promote tab (Pro):
  - Daily posts: 20 listings a day get posts for Facebook, Instagram, TikTok and Pinterest. Each post has a call to buy,
    hashtags and SEO copy. Pinterest and Facebook open with the link filled in. Instagram and TikTok copy the caption,
    and you can download the photo.
  - Account setup: handle ideas, bios, boards and checklists. You create the accounts yourself.
  - Deals and communities: where posting is allowed, each place's rules, and a ready post. You post with one click per place.
- Sales, inventory and tax (Pro):
  - Poshmark sales and live listings sync through your session.
  - Other platforms are read from your own signed-in sold and active pages by the AI, or imported from their CSV reports.
  - True earnings per platform, after fees and cost of goods.
  - Alerts when an item that sold on one platform is still live on another. Poshmark listings can be deleted in one click;
    for other platforms the listing opens so you can end it there.
  - Tax: reporting thresholds by platform for your country and state or province (US 1099-K, Canada CRA,
    UK HMRC, EU DAC7, Australia) and an estimate of the possible tax owed. These are estimates, not tax advice.

NOTES
- Chrome must be open and the computer awake for scheduled jobs.
- API keys stay in this browser and go only to the AI provider you chose.
- Reading other marketplaces, delisting there and CAPTCHA solving are best-effort and can break when those sites change.
- Automated CAPTCHA solving and heavy automation may break Poshmark's or Google's terms. Use them at your own risk.
