TensorPass

AI Connect 0.1.12: the TensorPass app on Android, and failures that say what to do

Since 2 December 2026 the four AI Connect packages are at 0.1.12 on npm. A page in Chrome on Android uses the visitor's AI through the TensorPass app on the same phone, and every failure a visitor reads is coded and worded in five languages.

Published on

On 2 December 2026 at 14:36 UTC TensorPass published version 0.1.12 of the four AI Connect packages on npm. With 0.1.12 a page in Chrome on an Android phone uses the visitor's AI through the TensorPass app on the same phone, and every failure a visitor reads says what happened and what to do, in the page's language. Between the last release post, on 0.1.7, and this one, five versions of the SDK reached npm, the TensorPass apps for iPhone, iPad and Mac went to App Store review, and the TensorPass app for Android reached Google Play's internal testing. This post covers all of it.

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

The packages of 0.1.12

PackagePublished on npm (UTC)Unpacked sizeFiles
@tensorpass/aiconnect2 December 2026, 14:36698.0 kB166
@tensorpass/aiconnect-react2 December 2026, 14:37727.1 kB219
@tensorpass/aiconnect-elements2 December 2026, 14:376.58 MB10
@tensorpass/aiconnect-design2 December 2026, 14:35186.3 kB17

Each package carries the Apache License 2.0 and an npm provenance statement that ties it to commit 6032a44 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 that found no vulnerability once cross-spawn and ws moved to their fixed releases, lint, the type check, the build, 253 unit tests and the demo's 30 end to end tests, and installed the packed packages in an empty project.

Five versions since 0.1.7

VersionPublished (UTC)What it changed
0.1.824 November, 12:03An empty chat shows its connection step after the suggested questions, and the MCP client loads with the first question.
0.1.926 November, 23:06A bare web address in an answer becomes a link, and every module takes footer, the site's own line under the question box.
0.1.1027 November, 02:09The words a model writes after a tool's result start a paragraph of their own.
0.1.1129 November, 15:02Code blocks drawn as code with a Copy code button, and the TensorPass credit through credit.
0.1.122 December, 14:36Android through the TensorPass app, and failures coded and worded in five languages.

The changelog describes each one with the site that showed the problem it fixed.

The TensorPass app on phones

On a phone the visitor's wallet is the TensorPass app, which holds the same encrypted vault as the AI Wallet extension. The connect window reads the visitor's device and browser and offers the step that fits, so a site needs no change for phones. The Phones page lists every browser.

A visitor who stays in Chrome goes back to the page once the app unlocks the wallet and approves the site. The page then talks to the app over a WebSocket to 127.0.0.1, on the first of the ports 47760 to 47769 that answers, so the conversation stays inside the phone on its way to the app. The page's ECDH P-256 key and the app's give a frame key through HKDF SHA-256, and every frame is numbered and sealed with AES-GCM. The app accepts only the origin of the page that handed it the session. The wallet over that connection says host: 'local', and the modules keep the TensorPass credit on such a page.

A minute behind Chrome

On 2 December the owner tested Stay in Chrome on a Samsung Galaxy, and a question asked a few minutes after going back to Chrome got no answer. Two freezes caused it.

Chromium, which runs Chrome and Android's WebView, freezes a page that has been hidden for one minute and plays no audio: its timers stop and the messages sent to it wait. The app ran its wallet in web views placed on its own screen, so Android counted them hidden once Chrome came back to the front. On the emulator a 50 millisecond timer of the wallet's background page no longer fired 65 seconds after the app went behind Chrome. AI Wallet 0.1.15 keeps those web views out of any window, which WebView counts as visible for background work, and the app answers however long it stays behind Chrome.

Chrome also freezes the hidden tab of the page itself after a minute, which closes its socket. On the Galaxy, Chrome showed the tab again before resuming it, so a socket the page opened at that moment failed as well. The SDK of 0.1.12 drops the socket when the tab freezes and connects again once Chrome resumes it. On the Galaxy, with the app behind Chrome for two minutes, the next question got its answer through the TensorPass plan, with a tool call to the demo's book search.

Failures that say what to do

The same test showed the visitor "TensorPass answered 402" for a TensorPass plan whose subscription had ended. In 0.1.12 every failure carries a code, WalletRequestError.code, one of the 28 codes of WALLET_FAILURE_CODES. The wallet sets it on every failure it sends a page, and the SDK sets it on the failures of an account signed in on the page. The modules, the connect window and useAiChat().error word each code in English, French, Hebrew, Arabic and Chinese, and name the wallet the visitor uses: AI Wallet with the extension, TensorPass on a phone.

CodeWhat the visitor reads, in English
plan_inactiveYour TensorPass plan is not active. Choose a plan in TensorPass to keep using it.
account_limitChatGPT has reached its usage limit for now. Try again later, or choose another account in AI Wallet.
site_daily_limitThis site has used the AI it may use today. Raise its daily limit in AI Wallet's settings, or try again tomorrow.
approval_needed, on AndroidTensorPass needs your approval for this site. Tap the TensorPass notification to approve it.
wallet_stopped, on AndroidTensorPass closed on this phone. Open TensorPass, then try again.

An error's own message stays written for the developer, and a provider's own words stay in the wallet, since they can carry details of the visitor's account. failureText of @tensorpass/aiconnect-react gives the same words to an interface of your own, and the provider's failureMessages replaces them. A wallet older than AI Wallet 0.1.15 sends no code; failureCodeOf then reads one from its reason and status. The protocol's errors list every code with its status.

The wallet's own screens follow the same rule in the five languages, sign ins and plan screens included, and so do the apps for iPhone, iPad, Mac and Android, whose texts moved to the five languages on 2 December. A page that cannot load in an app's own browser now says why, no connection, no site at that address or no secure connection, with a button that loads it again.

For your site

Update the packages to 0.1.12. A site built on the modules or on useAiChat gets the coded failures and the Android step with no change to its code. A site that shows error.message itself moves to failureText, or words error.code. The skill aiconnect-integrate 0.4.13 loads the elements script of 0.1.12 from https://cdn.jsdelivr.net/npm/@tensorpass/[email protected]/dist/aiconnect-elements.js.

Read the quickstartRead the changelog