Puchkoo AI (previously AI Business Assistant) - full changelog

= 2.9.4 (2 Dec 2026) =
* Changed: Puchkoo AI is now a product of Avencher AI Talent Pvt Ltd (previously Backup Infotech).
* Changed: "Powered by" under the chat (off by default) shows the Puchkoo AI logo and links to puchkoo.com.
* Changed: Puchkoo AI and Puchkoo AI Pro share the same version number again (2.9.4).

= 2.9.3 (1 Dec 2026) =
* Changed: the Puchkoo AI settings page has the puchkoo.com look: Puchkoo purple, dark ink text, a warm paper background, and the Puchkoo AI logo in the header.
* Changed: Puchkoo AI and Puchkoo AI Pro now share the same version number (2.9.3).

= 2.9.2 =
* Removed: support for IKS (IntelliKid Systems) web forms. The plugin no longer contacts IntelliKid Systems. Activating the plugin contacts no outside service.
* Changed: activating the plugin no longer requests the home page to find the website's colour; that check runs in the background.

= 2.9.1 =
* Changed: offer as many chat languages as you like (the limit of 3 is gone).
* Changed: the settings page only shows this plugin's own settings. Settings of add-ons are added by the add-on itself.
* Fixed: the website's colour is found in stylesheets of custom uploads and theme locations (paths from wp_upload_dir() and the theme functions).
* Changed: uninstalling removes this plugin's own data only.
* Readme: the setup (your own API key) is described more clearly.

= 2.9.0 (3 Nov 2026) =
* Renamed to Puchkoo AI (previously AI Business Assistant). Settings, keys and saved data are kept.
* Changed: up to 3 chat languages in the free plugin, with the language picker in the chat.
* Changed: the settings page describes the Pro add-on in one short box instead of showing locked options.
* Fixed: the request address is sanitized in the safe-mode check.
* Readme: new "What makes Puchkoo AI different" section, and setting names in the installation steps and FAQ that match the settings page.

= 2.8.0 (2 Nov 2026) =
* Changed: the Pro features are now only in the AI Business Assistant Pro add-on: filling in and sending forms in the chat, booking free times in your booking plugin, orders in the chat, more than one chat language with the language picker, the Full screen, Timeline and Split screen chat styles, and the server voice. The free plugin gives visitors the link to the right form or booking page and chats in one language.
* New: hooks for add-ons (aiba_modules_init, aiba_agent_class, aiba_chat_response, aiba_widget_script, aiba_widget_config and more).
* Readme: describes the free plugin's features.

= 2.7.4 (2 Nov 2026) =
* New: Settings → AI Assistant → Admin assistant tab with "Show the assistant in WP Admin" (on by default). Admin chat style moved there from Appearance & limits.
* Changed: "Powered by" with the BI logo under the chat is now off by default. Turn it on under Appearance & limits → Show "Powered by" under the chat.
* Changed: the admin assistant only opens with the update and reads it aloud after an admin logs in when that is turned on: Admin assistant tab → "Open with the update when an admin logs in" and "Read the update aloud" (both off by default). Each admin can also change it in the admin chat's More options menu.
* Changed: requires WordPress 6.2 or later.
* Fixed: notes for translators on every text with placeholders, prepared table names in the LatePoint and Amelia queries, and other WordPress.org Plugin Check findings. The chat works as before.
* Readme: new External services section; older changelog entries moved to changelog.txt.

= 2.7.3 (30 Oct 2026) =
* Changed: "Powered by" with the BI logo (website chat and admin chat) links to https://backupinfotech.com/ and opens it in a new tab.

= 2.7.2 (30 Oct 2026) =
* Changed: the website chat also shows "Powered by" with the BI logo under the message box, on the right (as in the admin chat), instead of the note line. In the admin chat it moved to the right too.

= 2.7.1 (30 Oct 2026) =
* Changed: under the admin chat's message box, "Powered by" with the BI logo instead of the note line.

= 2.7.0 (30 Oct 2026) =
* New: the admin chat in WP Admin looks like the website chat: the same chat button, the panel in your colour with the assistant's picture, the latest answer in large type, the outlined quick buttons, the white message box with the mic and send buttons, the animated picture at the start, the voice chat card and the same opening movement. The update, "Are you sure?" and job cards sit on it as white cards. The header still says "Website assistant", and the chat starts under the WP Admin toolbar.
* New: Settings → AI Assistant → Admin chat style: the admin chat can look like the website chat ("Same as the website", the default) or have its own style (classic stage, full screen, timeline thread or split screen), with a preview. In split screen the admin page moves over and the line between them can be dragged.

= 2.6.0 (30 Oct 2026) =
* New: the admin assistant opens WP Admin pages for you. Type or say "open the Appointments tab", "go to Orders", "open Pages", "take me to WooCommerce settings", "open Add New Post" or "plugins kholo", and the page opens right away (no AI needed), with the chat still open there; in voice chat it carries on talking on the new page. It knows every page in your admin menu, including other plugins' pages, and only the ones you are allowed to see.
* New: through the AI it also opens one order, post, page, product or appointment ("open order 1234", "open the Hello world post"), or a page named in other words. Only pages of your own website and its WP Admin are opened.

= 2.5.0 (30 Oct 2026) =
* New: the admin assistant greets each admin by the first and last name in their WordPress profile (Users → Profile), on screen and out loud: "Hello Ankit Tyagi, I'm here to update you about your website…". When neither name is filled in, it says "Hello Admin". The AI also knows the admin's name.

= 2.4.0 (30 Oct 2026) =
* New: website check, for any kind of business. Ask the admin assistant "Check my website" or "What should I improve on my website?" (or tap the suggestion) and it opens the website's pages the way visitors and Google see them (home page, pages, products, recent posts and other public content) and lists what to improve, most important first, with a score out of 100:
  - SEO: meta titles and descriptions, main headings (H1), image alt text, pages hidden from Google, sitemap, readable page addresses, a missing SEO plugin;
  - content: pages that show an error, broken links, pages with very little text, WordPress sample content, placeholder text (lorem ipsum), an old blog, posts without a featured image;
  - business & trust: phone/email/WhatsApp to tap on the home page, contact page, privacy policy, shop terms, site title, tagline and icon, business details for Google, a contact or booking form;
  - technical & speed: HTTPS, coming-soon mode, PHP errors shown to visitors, old PHP, waiting updates, very large images;
  - the shop (with WooCommerce): products without a photo, description, price or category.
* New: the check runs in steps with a progress card (the chat stays usable), and again by itself every week. The daily update shows the website score and what the weekly check found that is new.
* New: the assistant writes better meta titles and descriptions from each page's own text. With an SEO plugin (Yoast SEO, Rank Math, All in One SEO, SEOPress or The SEO Framework) it saves them after you confirm; without one it only suggests them. It can also write alt text for images in the media library (saved after you confirm, and filled in where the images are placed without it), and trash WordPress's sample post, page and comment after you confirm.

= 2.3.0 (30 Oct 2026) =
* New: the admin assistant can take full backups with All-in-One WP Migration ("take a backup", or "back up first, then update"). The backup runs in the background with a progress card, and is saved on the server in All-in-One WP Migration → Backups. If the backup fails, nothing is updated.

= 2.2.0 (30 Oct 2026) =
* New: the doctor chosen in a booking is saved with the appointment request and shown in its own Doctor column on the Appointments page, with a Doctor filter ("All doctors" or one doctor). It is also in the "New appointment request" email subject, in the customer's emails, and in the admin assistant's update, minute reports, summaries and look-ups ("appointments for Dr …").

= 2.1.0 (30 Oct 2026) =
* New: while you are in WP Admin, the admin assistant checks every minute for anything new (orders placed or paid, customers' requests, appointment requests, forms and bookings from the website chat, comments and reviews, failed emails, new customers). When something comes in, the chat opens by itself with a short card (with buttons such as Approve or Mark completed) and reads it out when "Read answers aloud" is on. Coming back after a break, it tells you what came in while you were away (up to 6 hours). Only the tab you are looking at checks, it doesn't take the cursor from what you are typing, and it uses the website's data, not the AI. Switch it off in the chat menu: "Tell me when something new comes in".

= 2.0.0 (30 Oct 2026) =
* New: the admin assistant does tasks for you once you confirm them. Every change shows a summary that asks "Are you sure?", and only a click on Yes (or saying "yes" in voice chat) makes it. Nothing is ever deleted for good, and settings, users and code are never changed.
* New: updates of plugins, themes, translations and WordPress, with "Update all" and "Back up & update all" on the update card. Before each plugin or theme is updated a copy is kept; after it the assistant opens the website and WordPress admin, and puts the old version back by itself if they show an error. "Put back" restores a kept copy later. WordPress itself is only updated after a full backup.
* New: full backups with UpdraftPlus, WPvivid or BackWPup when one is installed ("back up first, then update"). Other backup plugins are recognised, with a reminder to run their backup first.
* New: updates and backups run in the background with a progress card in the chat (it carries on while you move between admin pages, and through WP-Cron when no admin page is open), can be stopped after the current step, and are read out when they finish in voice chat.
* New: refunds (fully or in part, through the payment method when it supports refunds, with items back in stock), sending order emails again, cancelling and moving appointments with an email to the customer, creating, editing, publishing, unpublishing, trashing and restoring posts and pages, product price, sale price, visibility and featured, and approving, unapproving, spam, trash and replies for comments and reviews.
* New: appointments can be Cancelled (Appointments page, with history and emails).

= 1.9.0 (30 Oct 2026) =
* New: voice chat in the admin assistant, working like the visitors' voice chat: the same speech engines (Settings → AI Assistant), a hands-free conversation that listens again after every answer, talking over an answer to interrupt it (a cough, a "hmm" or the assistant's own voice doesn't), "stop" / "wait" to make it quiet, and English, Hindi or Hinglish found automatically.
* New: after logging in (and once a day) the assistant says hello and reads out today's update by itself, then keeps listening. Browsers only let a page talk after a click on the site; clicking "Log in" counts, otherwise one click on "Hear today's update" starts it.
* New: "Talk to me when I log in" and "Read answers aloud" switches in the chat's menu, per admin. Typing a question ends voice chat, as for visitors.
* New: changes can be confirmed by voice: the assistant says what will change, and "yes" confirms it, "no" cancels it.
* The update has a short spoken version (orders, customer requests, appointments waiting with names and times, chat activity, site health). Admin voice uses its own admin-only endpoints, so it works even when voice is switched off for visitors.
= 1.8.0 (30 Oct 2026) =
* New: an assistant for admins inside WP Admin (the visitors' chat on the website is unchanged). After logging in, and once a day, it opens by itself: "Hello Admin, I'm here to update you about your website. Would you like to know what's new?"
* New: "What's new" shows the last 24 hours: new orders and paid sales, orders to ship, customers' cancel/return/change requests from the chat, appointment requests waiting for approval and today's/tomorrow's appointments, chat questions, forms and bookings from the chat, AI errors, failed emails (WP Mail SMTP), out-of-stock and low-stock products, new customers, reviews, comments to approve and available updates. Built from the website's own data, so it works even when the AI is busy.
* New: ask anything in your own words (English, Hindi or Hinglish): orders, sales for any period, best sellers, products and stock, appointments, customer requests.
* New: quick actions with a summary and a Confirm button first: change an order's status (not refunds), add a private or customer note to an order, approve or decline an appointment request (approving emails the customer, as on the Appointments page), mark a customer request done or declined with an optional message, set a product's stock. Nothing changes until the admin confirms; each summary can be confirmed once, within 15 minutes.
* New: a number on the chat button shows what's waiting (appointments to approve, open requests, orders to ship). "Greet me when I log in" can be turned off per admin in the chat's menu.
* Developers: filters aiba_admin_chat_capability (default manage_options) and aiba_admin_chat_enabled; AIBA_Appointments::decide() approves or declines a request from code.
= 1.7.0 (21 Oct 2026) =
* New: works for any kind of business. The assistant finds the business's name, type (clinic, dentist, salon, restaurant, hotel, school, gym, real estate, garage, shop…), phone, email, WhatsApp, address, opening hours, social links, menu and key pages by itself, from the pages, header and footer, widgets, SEO plugin and WooCommerce settings. "Type of business" starts on "Detect automatically".
* New: the knowledge keeps itself up to date. Changes to pages, menus, Elementor templates, forms, booking services, theme settings or plugins are picked up within a minute, without saving the settings or clearing anything. The website is read again in the background, so visitors never wait.
* New: fills in the website's forms in the chat. The assistant asks for each detail, checks emails, phone numbers, dates and choices, shows a summary with a Send button, then fills in and sends the real form, so the form plugin's own emails, spam checks and integrations run as usual. Forms with a visible captcha or a file upload are filled in on the page and the visitor finishes them.
* New: books appointments in Simply Schedule Appointments, Bookly, Amelia, LatePoint and WooCommerce Bookings: the real free times as buttons, the details the booking plugin asks for, a summary with a Book button, then the booking is made by the booking plugin itself (its rules, statuses and emails apply). WooCommerce Bookings appointments go into the cart for checkout.
* New: booking links on the website (Calendly, Cal.com, Acuity, HubSpot, SavvyCal, YouCanBook.me, Setmore, SimplyBook.me, Square, Google Calendar, Microsoft Bookings, Zoho, Fresha, Booksy, Vagaro, Mindbody, OpenTable, Resy, SevenRooms, Tock, TheFork, Zocdoc, Practo and more) are opened for the visitor, with name and email already filled in where the booking service allows it.
* New: the chat button says hello in a way that fits the page ("Want me to book this for you?", "I can send your message for you", "Questions about <product>?"), and quick buttons under the welcome message (book, send a message, services, opening hours, call) on websites that are not mainly a shop.
* New: "Forms & booking" settings tab with every form and booking system found and what the assistant does with each, and "What the assistant found" on the Business tab.
* Changed: on websites that are not mainly a shop, popular products are no longer shown when the chat opens, and the cart icon appears once something is in the cart. Shops work as before.
* Safety: nothing is sent or booked until the visitor confirms the summary; limits per chat and per visitor stop floods; personal details stay out of the conversation log; if the plugin ever causes a fatal error it switches itself off (safe mode) and shows the admin a notice.
= 1.6.1 (20 Oct 2026) =
* Fixed: a typed or spoken "yes" to an order change summary sometimes made the assistant show the summary again instead of making the change. A plain yes ("yes", "yes please", "ok go ahead", "yes cancel it", "haan ji", "हाँ"…) right after the summary now makes the change straight away, and the AI is told which summary is waiting. Only the summary shown in the reply just before counts, so a later "yes" to something else never confirms an old summary.
* Fixed: products in an order are found by part of their name ("Visorra TV" for "Visorra 43\" Full HD Smart TV", "tvs" for "tv").
* Fixed: sales suggestions (upgrade, cheaper, similar) only show the same kind of product: the same last word of the name ("Smart TV" / "LED TV") first, then a shared product tag. Before, any product of the same category could be suggested (a dishwasher as an upgrade for a TV). General tags like "on sale" don't count (filter aiba_general_tags).
* A second request for the same order (an open return, or a paid cancellation) is not sent again; the customer is told the shop team is already on it.
* When only a new street is given for an address change, the AI asks the customer to check the city and PIN code kept from the current address. The AI says the summary card is below its message, and never says a summary was prepared unless it really was.
* Backup of the files before these changes: wp-content/aiba-backups/before-1.6.1-20261020-093343/.

= 1.6.0 (20 Oct 2026) =
* New: customers can change their orders in the chat, like with a person in customer care: cancel an order, change its delivery address, phone number or delivery note, add or remove products or change quantities, and ask for a return. AI tools order_details, request_order_change and confirm_order_change (class AIBA_Order_Actions).
* Safe by design: the customer first confirms their email with the same 6-digit code as "show my orders" (logged-in customers: their own account), and only their own orders can be changed. Every change is shown as a summary card first and is made only when the customer taps Confirm (one-time token) or clearly says yes in their next message (never in the reply that shows the summary). When the email check is needed, the chat carries on with the request by itself once the code is confirmed.
* Only before the order ships: Pending payment, Processing and On hold (filter aiba_editable_order_statuses). Delivered (Completed) orders can get a return request within the return period (Settings > AI Assistant > Shop features, default 30 days, 0 = no limit).
* Money is never moved by the chat. Cancellations and product changes of paid orders (paid online, or bank transfer marked paid; cash on delivery counts as unpaid until delivered; filter aiba_order_money_received), address changes to another delivery area, and all returns become requests for the shop: WooCommerce > Chat requests (with a count of open requests), where the shop marks them done or declined and can write a message to the customer.
* Stock goes back or is taken when products change (like editing an order in the admin), totals and coupons are recalculated (shipping is not), the customer gets an email for every change (WooCommerce's customer note email, with the order details) and the shop gets an email too. Every change is written in the order notes.
* New: sales skills (Shop features > Sales skills, on). New AI tool recommend_products: what goes with a product or the cart (WooCommerce Cross-sells first), an upgrade (Upsells first), cheaper alternatives (also within a budget) and similar products. The assistant suggests one matching item after something is added to the cart, compares products honestly, offers cheaper options when the price is too high, and reminds the customer once about their cart. It never invents discounts or pressure. The assistant's personality is unchanged.
* The summary cards and messages are in English and Hindi.
* Backup of the files before these changes: wp-content/aiba-backups/before-order-actions-20261020-084618/.

= 1.5.1 (19 Oct 2026) =
* Fixed: in voice chat a spoken answer often stopped for 2–4 seconds and then started the sentence again, without the customer asking anything. Any loud moment over the answer (a cough, a door, "hmm", someone nearby, or the phone's own voice slipping through its echo cancellation) stopped it at once. Now a sound over the answer is only checked while the answer carries on, and the answer stops only when someone is really talking (about half a second of clear speech, or talking that goes on for a second).
* Short words still work without a pause: "stop", "wait", "ruko" or a short question said over the answer are written down quietly in the background and then acted on; "okay", "hmm" and noise are ignored.
* If an answer is stopped by mistake, it carries on from the sentence it was reading instead of the start of the piece, and a finished answer is never read again.

= 1.5.0 (19 Oct 2026) =
* New: returning customers. When a guest asks the assistant to place an order, the email is asked first. If that email ordered before, the chat can fill in the name, phone and address of the last order ("Welcome back! Use these details, or enter new details?"). WooCommerce already keeps these with every order, so nothing new about the customer is stored.
* Safe by design: the details are only shown after a 6-digit code sent to that email (the same code as "show my orders"), or on a device the customer asked to be remembered on. The offer card is shown for every email and the code is only emailed when the email has an earlier order, so the chat never reveals who is a customer. The details are not given to the AI until the customer chooses "Use these details".
* Remember this device (90 days): a ticked "Remember my details on this device" box on the order summary (and on the code card). The browser keeps a random token in an httpOnly cookie; the server keeps only its hash with the email. A device remembered after an order (without the code) only offers orders placed on that device, so typing someone else's email can never show their later orders. "Not you? Forget this device" removes the token and the details kept in the browser's shopping session.
* Settings → AI Assistant → Shop features: "Offer returning customers their saved details" and "Remember customers on their device (90 days)" (both on). Works in English and Hindi; voice customers can say "yes, use them" (the code itself has to be typed). Needs working email for the code (an SMTP plugin).
* REST: POST /aiba/v1/checkout/saved (choice), /checkout/saved/code, /checkout/saved/verify, /checkout/saved/forget, /checkout/saved/remember. Code for the email check is shared: AIBA_Orders::issue_code() and check_code().
* Backup of the files before these changes: wp-content/aiba-backups/before-saved-details-20261019-070231/.
= 1.4.1 (19 Oct 2026) =
* Speech to text uses Gemini on every device. Chrome, Edge and Android used the browser's own recognition once a language was chosen: it hears only that one language (Hindi and English mixed came out wrong), stops at the first pause and on Android fought the page for the microphone. "Browser only" in Settings → Voice still uses it.
* No more made-up questions from noise: Gemini now answers in a fixed format (speech yes/no + the words), so background noise, a TV or breathing gives no text. Before, 4 seconds of room noise came back as "मुझे एक सर्विस बुक करनी है" and was answered.
* Faster: transcription asks gemini-3.5-flash-lite first (about 1 second, no thinking), then gemini-3.1-flash-lite, flash-lite-latest, 2.5-flash-lite and 3.5-flash. A model that doesn't answer within 10 seconds is skipped at once (it used to wait up to 35 seconds). Recordings are made at 32 kbit/s (a quarter of the upload).
* Better spelling of names: Gemini is told the shop's name, product categories and best-selling product names (filter: aiba_stt_words; the model order: aiba_gemini_stt_models).
* Silence detection: the room's noise level is now measured from the quiet moments of the last 4 seconds, so quiet phone microphones, noisy rooms and visitors who start talking at once are no longer dropped as "nothing said" (or recorded for 30 seconds). A recording that is unclear after 8 seconds is sent and Gemini decides.
* Voice chat no longer ends after one recording that couldn't be transcribed: it says "Sorry, I didn't catch that" (in Hindi too) and listens again; it ends after two in a row. The transcription request gives up after 35 seconds and is retried once.
* Recordings have their own hourly allowance per visitor (3× the chat limit, at least 60), so voice chat no longer hits "You've asked a lot of questions" after about a dozen spoken questions.
* Microphone: asked for again when the system took it away (a call, Siri, another app); phones that refuse the echo/noise options get the plain microphone; clearer messages for a busy microphone, no microphone, or an in-app browser (Instagram, Facebook…). Silent WAV recordings are not sent to Gemini at all.
* Backup of the files before these changes: wp-content/aiba-backups/before-stt-fix-20261019-040930/.
= 1.4.0 (16 Oct 2026) =
* Voice chat language: the English / हिन्दी question is no longer shown when the chat opens. It appears when the customer taps the mic, is read aloud (English line and Hindi line, each with a female voice for that language) and can be answered by tapping a button or by saying the language ("English", "Hindi please", "हिंदी में", "angrezi"…). A question asked instead is kept and answered after the choice. Typed questions need no choice: they are answered in the language they are written in. The chosen language is kept for the whole chat.
* Spoken answers: new setting Voice for spoken answers. Default: the customer device voice (free, a female voice is chosen, one voice per language for the whole chat). Optional: one natural Gemini female voice on every device (setting Female voice: Kore, Despina, Sulafat, Achernar, Leda, Zephyr, Aoede) — the Gemini free tier allows about 10 voice requests per model per day, so turn on billing first; when the allowance is used up, new visits use the device voice and a visit that started with the Gemini voice shows answers on screen only. Filters: aiba_cloud_voice, aiba_tts_models, aiba_tts_voice, aiba_tts_per_hour, aiba_tts_per_day.
* iPhone / iPad: spoken questions were sometimes dropped as "silence" (iPhone microphones are much quieter); speech is now detected against the room's own noise level. With the Gemini voice the microphone stays open and customers can talk over an answer; with the device voice the voice bar becomes a big "Speaking… tap here to ask" button (in Hindi too) that stops the answer and listens.
* Android: spoken questions weren't heard because the page kept the microphone open while Chrome's speech recognition needed it. The microphone is now freed first; if it is still busy, the question is recorded and transcribed on the server.
* Voice bar texts (listening, thinking, speaking, End voice chat) follow the chosen language.
* Shop: sizes, colours and other options are shown on product cards and given to the AI (in-stock values only for products with variations). Add to cart now asks for the size / colour first (only available values, never guessed), then adds the matching variation, or, for products without variations that list several sizes or colours, the product with the chosen options, which show in the cart, mini-cart, checkout, emails and the order. A wrong value gets the list of valid ones; "medium", "extra large", "मीडियम" are understood. A card's Add to cart for such a product asks in the chat. Filters: aiba_choice_attribute_pattern, aiba_product_choices.
* Hindi chats: the cart messages and buttons (added to cart, place the order for me, check out myself, view cart) are in Hindi, so the place-order button no longer triggers the "please continue in Hindi" reminder.
* Troubleshooting: add ?aiba_debug=1 to a page address to see the voice log on screen (?aiba_debug=0 turns it off).
= 1.3.3 + site changes (15 Oct 2026) =
* New: when the chat opens, the visitor chooses English or Hindi ("Please choose your language"). Nothing is answered until a language is chosen; a question typed first waits and is sent right after the choice. The ⋮ Language menu offers the same two languages, and "New conversation" asks again. Filter: aiba_primary_languages.
* Replies stay in the chosen language for the whole chat. A message in the other language gets a reminder ("You selected English, so please continue in English…") with a button to switch; messages in another script get the reminder without an AI request. Asking to change the language ("hindi mein baat karo", "switch to English") switches it. Hinglish counts as Hindi. Names, emails, phone numbers, addresses and PIN codes never trigger the reminder. Filter: aiba_language_text.
* Read-aloud uses a female voice: known female voices (Google UK English Female / US English / हिन्दी, Microsoft Zira, Neerja, Swara, Heera, Kalpana, Sonia, Aria, Jenny, Apple Samantha, Veena, Lekha, Isha…) are picked first, known male and novelty voices last. In Hindi the assistant speaks of herself in feminine forms.
* Fixed: with Hindi chosen, questions in English were sometimes answered in Hindi instead of getting the reminder. Messages in English letters are now checked with word lists (English words vs Hinglish words such as hai, kya, mujhe, dikhao) before the AI is asked; unclear ones (product names, single words, anything with digits) are still left to the AI, which is told to judge only the latest message. Never checked while an order is being placed in the chat.
* Fixed: the assistant said "Hello! How can I help you?" in the middle of a conversation (mostly after a short "hello", "hi", or a stray word like "you" heard by voice). Once the assistant has answered once: a plain greeting or "are you there?" gets "Yes, I am still here! Shall we carry on…" without an AI request; the AI is told the conversation is in progress and must not greet again; and a reply that still starts with "Hello!" has the greeting removed, or is replaced with the "still here" line when it only offers help. In Hindi the assistant addresses the visitor in the usual respectful form (सकते हैं), feminine forms only for herself.
* New: voice chat keeps going when the chat is minimized, so visitors can look around the website while talking. The chat button then shows a microphone and "Voice chat on · Listening… / Thinking… / Speaking…" (red pulse while listening), with × to end voice chat; tapping the button opens the chat again. Voice chat ends by itself when the visitor asks no question for 1 minute (counted from when the last answer finished; chat open or minimized): the microphone is turned off, the button goes back to normal and the chat says "Voice chat ended because there was no question for 1 minute. Tap the mic to talk again." (in Hindi when Hindi is chosen). Filter: aiba_voice_idle_seconds. When the browser tab is hidden, voice chat pauses and the button shows "Voice chat paused · Tap to continue". Opening another page of the site (e.g. a product page) carries the voice chat on there by itself, still minimized, when the browser allows it without a tap: microphone allowed for the site and a tap on the previous page (Chrome, Edge, Android). Otherwise (e.g. iPhone Safari, Firefox, microphone allowed "only this time") the next page shows "Voice chat paused · Tap to continue" for 5 minutes; one tap and it listens again. If the browser refuses to read an answer aloud, voice chat pauses the same way and the answer is read out right after the tap.
* The language must be chosen before anything reaches the AI, also on the server: POST /aiba/v1/chat without English or Hindi chosen (lang) answers "Please choose your language first. / कृपया पहले अपनी भाषा चुनें।" with the action choose_language (no AI request, not counted in the limits); the chat then shows the English / हिन्दी buttons and sends the question again after the choice. (The chat itself already asked first when a question was typed or the mic tapped before choosing.) The admin "Try it here" box is not affected.
* New settings page design (Settings → AI Assistant): a header with the chat status, a section menu on the left (Overview, AI models, Business, Shop features, Website content, Voice, Appearance & limits, Conversations) with dots on sections that need attention, cards with on/off switches, and a save bar that shows unsaved changes. The Overview shows the main and backup AI, questions today against the daily limit, website knowledge, the last problem, a warning when WP Mail SMTP logged an email error in the last 24 hours, and the Try it box.
* AI models: the Model box is now a dropdown of the models each key can use (the provider list, without image, speech, embedding, robotics and computer-use models), with a refresh button to load the list for a newly pasted key and an Other model choice to type any name. Show or hide the key, Test connection, and a one-click tip to use another saved key as the backup.
* Voice: the old Default visitor language list is now English accent (Indian, British, American), since customers choose English or Hindi in the chat.
* When the customer chooses English or Hindi (picker, switch button or Language menu), the confirmation line is read aloud in that language with the female voice, unless read-aloud is set to Never or muted in the chat menu. A question typed before choosing is still sent right away without cutting the line off.
* After the language line has been read aloud, voice chat starts by itself (continuous voice chat must be on): the voice bar shows Speaking, then Listening, and the customer can simply talk. The microphone is requested right when the language is chosen, so the browser's permission prompt appears at once. Not started when the customer had already typed a question, when read-aloud is off or muted, or when voice input is turned off. The 1-minute rule still ends it if nothing is asked.
* Fixed: in voice chat a pause, filler word or noise (hmm, umm, wait, one second, you, thank you, hello?, रुको) got an answer such as "Yes, I am still here". Now it gets no answer at all and the chat keeps listening (checked in the chat and on the server; the AI also answers <<silent>> for a sentence cut off in the middle). The first part of a sentence the customer paused in is joined to the rest (within 20 seconds), and a question now ends after 2 seconds of quiet instead of 1.7. Fillers do not reset the 1-minute timer. The AI is told to stay on topic (business, website, products, orders; no small talk). A typed hello mid-chat gets "What would you like to know about our products?".
* Fixed: with English chosen, speaking Hindi again could switch the chat to Hindi (and the Hindi voice). The language now changes only on a clear request ("hindi me baat karo", "switch to English", "change language to Hindi"), detected on the server (AIBA_Agent::switch_request); the AI can no longer switch it. Any other message in the other language gets the reminder every time, and an AI answer written in Hindi while English is chosen is replaced by the reminder (AIBA_Agent::reply_in_other_language).
* Fixed (Mac, iPhone, iPad): read-aloud answers could not be heard on a Mac, and on an iPhone they were sometimes quiet and the voice changed in the middle of the chat. An open microphone makes Apple devices play sound through the earpiece or turn it down. On Apple devices the microphone is now closed while an answer is read out and opened again to listen (talking over an answer is off there; tapping the mic still interrupts). Every sentence now uses the chosen voice's own language, so iPhones no longer swap voices between sentences; built-in device voices are preferred over Chrome's online Google voices on Apple devices; and speech starts a moment after stopping earlier speech (Chrome dropped it otherwise). The kept voice was reset (new storage key) so everyone gets the new choice.
* Backup of the files before these changes: wp-content/aiba-backups/.

= 1.3.3 =
* Fixed: when an AI model was overloaded and didn't answer (e.g. "Gemini: cURL error 28: Operation timed out after 45000 milliseconds"), the whole question failed. Each request now waits at most 20 seconds (and never past the answer deadline); a model that doesn't answer in time is skipped for 10 minutes and the next model answers instead.
= 1.3.2 =
* Groq (free tier) gets about a third fewer tokens per question, so its daily limit (200,000 tokens per model) lasts longer: shorter conversation history (last 3 exchanges, 600 characters each), shorter search results and website text, tighter instructions and tool descriptions. The ordering instructions are only sent when there is something in the cart (all providers). Filter: aiba_compact_requests.
* Product and page search finds plurals: "speakers" finds "Speaker", "watches" finds "Watch" (the assistant had said a product wasn't available).
* The admin tip for limit errors suggests a free Gemini key when Groq is already the main provider.
= 1.3.1 =
* New: in voice chat, visitors can interrupt a spoken answer just by talking. The assistant stops reading and records the new question from its first word (no tap needed). The assistant's own voice from the speaker is measured and ignored; a short noise only pauses the answer, which then carries on from the same sentence. Setting: Voice > Interrupt by talking (on by default).
* The microphone now asks the browser for echo cancellation and noise suppression.
* Browsers load the new chat files right after an update (the files' change time is part of their version).
= 1.3.0 =
* New: the assistant can place orders for customers (WooCommerce). When a product is added to the cart, the chat asks "Shall I place the order for you, or would you like to check out yourself?". The assistant then asks for the name, email, phone and address one question at a time (in the customer's language), shows an order summary with the exact total, and places the order only after the customer confirms (button or "yes").
* Orders go through WooCommerce's own checkout (Store API): stock, prices, coupons, payment methods, order emails and other plugins work as usual. Cash on delivery, bank transfer and cheque orders are placed in the chat; for online payment methods the checkout page opens with the details filled in. Card, UPI or bank details are never asked in the chat.
* Details are checked as they are typed (email, phone, state names like "panjab" or "MH", PIN/postcodes) and kept for 2 hours, then deleted once the order is placed. Logged-in customers' saved details are used automatically. Orders placed in the chat get an order note.
* New setting: Business > Orders in the chat (on by default). Conversation logs hide chats where customers give order details.
* "New conversation" now starts a fresh chat session (order details and email checks are not carried over).
= 1.2.3 =
* Fixed (Groq / OpenAI): questions failed with "tool call validation failed ... expected number, but got null" when the model sent empty optional search filters. Optional tool parameters now accept null, and a rejected tool call moves on to the next model.
* English questions are answered in English (some models answered in Hindi); Hinglish and other languages typed in Latin letters still get answered in the same language.
* The assistant copies prices exactly as the store gives them.
* Fixed: saving a settings page that was opened before an update switched off options added by that update (e.g. Related products, Order history). Only checkboxes shown on the submitted page are changed now.

= 1.2.2 =
* Fixed: with Groq, every question failed for an hour after one rate-limit error, because the built-in backup model (llama-3.1-8b-instant) was not available to the account. Backup models are now only those the account actually has (from the provider's model list), and a "model not found" answer moves on to the next model instead of stopping.
* Rate limits: a model is skipped only as long as the provider asks ("try again in 8s"), an hour only for daily limits; waits of up to 10 seconds are retried automatically (as long as the visitor's 40-second limit allows).
* Groq: smaller requests to fit the free 8,000 tokens-per-minute limit (4,000 characters of website text, shorter answers, low reasoning effort for gpt-oss models). <think> text from open models is never shown.

= 1.2.1 =
* Fixed: the product name and picture on chat product cards now open the product page.
* New: when a visitor asks about a product, 2-3 related products are shown under it ("You may also like"), using WooCommerce's related products (same category or tags). Setting: Business -> Related products. Filter: aiba_related_products.

= 1.2.0 =
* New (WooCommerce): order history in the chat. When a visitor asks about their orders ("show my orders", "order status", "track my order"), the chat asks them to confirm their email, emails a 6-digit code (valid 10 minutes, 5 tries), and only then shows their recent orders as cards: order number, status, date, total and items with pictures. Logged-in customers see their own orders straight away. The email and the code never go through the AI, and the chat gives the same answer whether or not an email has orders, so it never reveals who is a customer. Rate limited (5 codes per hour per visitor, 3 per 15 minutes per email). Setting: Business -> Order history. Your site must be able to send email.
* New AI tool show_order_history.

= 1.1.1 =
* Chat window is wider (480px, was 420px) with 136px product pictures, more side spacing and 16px text.

= 1.1.0 =
* New look: the chat button is a white pill with a round sparkle icon and a line of text that takes turns (e.g. "Looking for a deal?"; set it under Look & limits → Chat button text; visitors can hide the text with ×). The chat window is clean and white with rounded corners; answers are plain text and the visitor's messages sit in grey bubbles; a cart link and a ⋮ menu (language, read aloud, new conversation) sit in the header; "Thinking this through…" shows while waiting; the message box is a rounded pill. The widget uses the website's own font.
* New product cards: picture on the left; % off badge, product name, green price with the old price crossed out, and a dark "+ Add to cart" button on the right; short description underneath.
* Default colour is now dark grey (#242424); change it under Look & limits.

= 1.0.11 =
* New (WooCommerce): when a visitor asks about a product ("show me the Samsung S90C 65\""), the answer comes with product cards: picture, description, price and Add to cart (up to 3). Cards are shown for the products the answer or the question names; model numbers like S90C decide between similar products. Out-of-stock products show a label and a link instead of Add to cart.
* Better product search ranking: the product whose name matches most of the words comes first, and 65" / 65” are treated the same.
* The assistant is told to name products instead of sending visitors to the shop page.
* Filter: aiba_reply_products.

= 1.0.10 =
* Removed the suggested-question buttons from the chat (and the "Suggested questions" setting), so the chat has more room for products and messages.

= 1.0.9 =
* Suggested questions are now one compact row that scrolls sideways (swipe, or mouse wheel on desktop) instead of stacking on several lines, with softer button styling.

= 1.0.8 =
* New (WooCommerce): when the chat opens it shows 3 popular products as cards with a picture, price, short description and an "Add to cart" button. Popular = most sold in the last 30 days, then best sellers, featured, top rated and newest (configurable on the Business tab). Hidden and out-of-stock products are skipped.
* Tapping a product makes the assistant offer to add it to the cart, with Add to cart and View product buttons. Products with options link to the product page.
* New AI tool add_to_cart: visitors can say or type "add it to my cart" and the chat adds it, then shows View cart and Checkout buttons. Uses WooCommerce's own AJAX add-to-cart, so the theme's mini-cart updates.
* Filter: aiba_popular_products (change the cards shown).

= 1.0.7 =
* New: continuous voice chat. Visitors tap the mic once; after each answer is read out, the chat listens for the next question by itself. A bar above the message box shows Listening / Thinking / Speaking with an "End voice chat" button. Voice chat also ends when the chat is closed, the visitor types or taps a suggestion, the browser tab is hidden, after about a minute of silence, or if the AI service fails. It can be turned off on the Voice tab.
* In voice chat, silent recordings are not sent for transcription (saves API quota), and the microphone stays open between questions so the browser doesn't ask again.
* Tapping the mic while an answer is being read out interrupts it and listens straight away.

= 1.0.6 =
* Fixed: spaces and commas could still disappear while typing in the chat on some themes. A tiny script now loads first in the page head and keeps every key typed in the chat away from theme and plugin keyboard shortcuts, however they are set up. Any character a page script still manages to cancel is typed back in.
* Fixed: a scrollbar appeared in the message box on a single line of text.
* Grammarly is turned off inside the small chat box (its button covered the box and it can interfere with typing).

= 1.0.5 =
* Fixed: on some themes the spacebar didn't work in the chat box (spaces were lost while typing). Theme or plugin scripts that use the Space, arrow or Page keys for scrolling, sliders or video players no longer interfere with typing in the chat.

= 1.0.4 =
* Voice is much more reliable on Gemini's free tier: transcription now uses Gemini 3.5 Flash / Flash-Lite first (separate free limits from the chat model), retries when busy, and falls back between Groq, OpenAI and Gemini.
* If a recording can't be transcribed because the service is busy, the chat quietly retries the same recording once before showing an error.
* Admins see the exact reason when voice fails, plus a tip to add a free Groq key for voice.

= 1.0.3 =
* When the AI service is busy (503) or over its free limit (429), the chat now retries once, then switches to another model of the same provider (Gemini: 3.5 Flash, then 3.5 Flash-Lite), then the backup provider. Busy models are skipped for a few minutes.
* Voice transcription with Gemini uses the same automatic fallback.
* Admins see a tip to add a backup provider when this happens; "Test connection" explains busy errors.

= 1.0.2 =
* Hindi (and other languages) spoken with the language set to "Auto" was heard as English words. Voice now uses "Automatic" recognition that detects the spoken language, and can use your Gemini key for it.
* Replies follow the visitor's language more firmly: Hindi in Devanagari gets a Hindi reply, and a language picked with the globe button is used for replies too.
* If the browser's built-in recognition fails (e.g. in Brave), the chat switches to server recognition automatically.
* Sites updated from 1.0.0/1.0.1 are switched from "Browser only" to "Automatic" voice recognition.

= 1.0.1 =
* When the chat can't answer, logged-in admins now see the exact reason in the chat (visitors still see a friendly message).
* Clear warning on the settings page and in the chat when no key is saved for the main provider.
* Warning when an API key looks like it was pasted in the wrong provider's box.
* "Test connection" now reminds you to click "Save settings".

= 1.0.0 =
* First version.
