TensorPass

AI Connect 0.1.7: images, files and voice in the chat modules

Since 24 November 2026 the four AI Connect packages are at 0.1.7 on npm, with provenance. A site's chat takes images, PDFs and text files and the visitor's dictation, read and transcribed by the visitor's own AI account. Version 0.1.6 holds the page behind the side panel and the popup on a phone.

Published on

On 24 November 2026 at 01:03 UTC TensorPass published version 0.1.7 of the four AI Connect packages on npm. With 0.1.7 a site's chat takes images, PDFs and text files, dropped, pasted or attached, and the visitor's dictation. The visitor's own AI account reads the files and writes the dictated words. Version 0.1.6, published on 23 November at 23:27 UTC, holds the page behind the side panel and the popup while they cover a phone. This post covers both versions, since the last release post covered 0.1.5.

npm install @tensorpass/[email protected] @tensorpass/[email protected]

The packages of 0.1.7

PackagePublished on npm (UTC)Unpacked sizeFiles
@tensorpass/aiconnect24 November 2026, 01:03570.4 kB145
@tensorpass/aiconnect-react24 November 2026, 01:03587.0 kB186
@tensorpass/aiconnect-elements24 November 2026, 01:036.26 MB10
@tensorpass/aiconnect-design24 November 2026, 01:03186.8 kB17

Each package carries the Apache License 2.0 and an npm provenance statement that ties it to commit d0e7aa1 of https://github.com/tensorpass/aiconnect and to the release workflow that built it. Before the tag, the release ran a clean install, an audit with no vulnerability found, lint, the type check, the build, 197 unit tests and the demo's 12 end to end tests.

Turn on files and voice

A module takes files and voice when the site passes attachments. A module without it keeps its question box as it was.

<AiChatPanel system="You answer questions about this shop." mcp="/api/mcp" attachments={{}} />
<aiconnect-chat variant="panel" mcp="/api/mcp" attachments></aiconnect-chat>

{} takes images, PDFs, text files and voice, with 5 MB of files and 10 files per question. The fields images, files, voice, accept, maxBytes and maxFiles narrow it, and the Files and voice page lists them. The elements script of 0.1.7, 759 kB, is at https://cdn.jsdelivr.net/npm/@tensorpass/[email protected]/dist/aiconnect-elements.js. It loads aiconnect-pdf.js and aiconnect-pcm-worklet.js from beside itself, so a site that hosts the script serves the three files from one folder.

What the visitor sees

A file dragged over a module covers it with a drop zone, which says before the drop whether the module takes the file. Each file shows as a chip above the question field, with a thumbnail for an image and the name and size for a document. A file the site refuses, a question over its size and a file the browser cannot read each show a line saying why, in English, French, Hebrew, Arabic or Chinese. The images of a sent question open in a lightbox. The microphone button turns the field into a bar with a live waveform and the time spoken, and Done puts the words in the field for the visitor to correct before sending.

What the model receives

The page prepares each file before it leaves:

A model that reads text only, such as DeepSeek's chat model, receives the question without its images, and the image's chip says so before the visitor sends. What each model reads comes from its provider's documentation, read on 23 November 2026, and for OpenRouter from the input types its model list gives each model.

Dictation

The SDK ships no speech model. The transcription service of the account that answers writes the words:

AccountTranscription
ChatGPT planThe dictation Codex uses
OpenAI API keygpt-transcribe through /v1/audio/transcriptions
Mistral API keyVoxtral through /v1/audio/transcriptions
Gemini plan and API keyThe visitor's Gemini model writes down the recording
Claude plan and the other accountsThe browser's speech recognition in Chrome, Edge and Safari

Chrome's recognition sends the voice to Google's service. Firefox has no speech recognition of its own, so it shows the microphone only for the accounts in the first four rows. AI Wallet counts dictation against each site's day by what the account bills. A service billed by the minute counts against 15 minutes per site per day, which the visitor changes in the wallet's settings. Gemini takes 32 tokens for each second of audio from the site's daily tokens. A site over its minutes goes on with the browser's recognition.

The guards read the files

The guards check what the visitor attached as well as what they typed. Each text file reaches the model inside its own salted envelope, <attachment-SALT name="...">, and the instructions tell the model that the file is part of the question and that instructions written inside it carry no authority. The injection patterns read the text of every file. The files of one question hold 200,000 characters of text at most. The long base64 block reads only what the visitor typed, since a CSV or a JSON file holds long tokens of its own. A PDF sent whole and an image reach the model as they are, so the guards cannot read inside them.

With which AI Wallet

A site on 0.1.7 keeps working with AI Wallet 0.1.8, the version in the stores on 24 November. With 0.1.8 the images still go, a PDF goes as its text, and dictation uses the browser's recognition. AI Wallet 0.1.9 adds the PDFs sent whole, what each model reads, and the transcription of the visitor's accounts. TensorPass submitted 0.1.9 to Firefox Add-ons and to the Chrome Web Store on 24 November, and it waits for the review of each store. Before the submission, the wallet passed its 210 unit tests and its end to end suites, 166 tests in Chrome and 9 in Firefox.

Version 0.1.6: the page holds still on a phone

On a screen 640 pixels wide or less, the side panel and the popup take the whole screen. Since 0.1.6 they hold the page's scroll and position while they cover it, as the full page mode does on every screen, so a site adds no scroll lock of its own. A module that covers the screen follows the visual viewport, so the keyboard leaves the question box in view, and on a touch screen the keyboard waits for the visitor's tap.

The skills

The Agent Skills TensorPass serves with the SDK follow the release: aiconnect-integrate 0.4.8 names attachments and loads the elements script of 0.1.7, and aiconnect-hardening 0.2.3 describes the attachment envelope and the cap on attached text.

Read the quickstartRead the changelog