Bundles
Each package builds its own bundles under packages/<pkg>/dist/. The publish workflow ships them as tarballs and as standalone <script> files under https://docs.llmor.com/autopilot-client/pkg/.
The full table
| File | Package | Format | Externals | Use when |
|---|---|---|---|---|
dist/index.min.js | @llmor/autopilot-core | ESM, minified | socket.io-client, fast-json-patch | Bundler + headless client. |
dist/index.cjs.min.js | @llmor/autopilot-core | CJS, minified | same | Node, or a CJS-only bundler. |
dist/index.dev.js | @llmor/autopilot-core | ESM, unminified, sourcemap | externals | Local dev for the core. |
dist/index.standalone.min.js | @llmor/autopilot-core | IIFE, minified, ~70 KB | none | A plain <script> tag, no bundler. Exposes window.AutopilotClient. |
dist/index.min.js | @llmor/autopilot-vue | ESM, minified | vue, pinia, @tabler/icons-vue, marked, @llmor/autopilot-core | Vue 3 app using the Pinia store / components. |
dist/index.dev.js | @llmor/autopilot-vue | ESM, unminified, sourcemap | same | Local dev for the Vue layer. |
dist/index.min.js | @llmor/autopilot-bar | ESM, minified | core + vue + vue + pinia + marked + @tabler/icons-vue | Bundler using the bar with shared Vue runtime. |
dist/index.standalone.min.js | @llmor/autopilot-bar | IIFE, minified, ~2.8 MB | none | Drop-in chat bar via <script> tag. Exposes window.AutopilotBar. |
dist/index.standalone.dev.js | @llmor/autopilot-bar | IIFE, unminified | none | Local dev for the bar. |
The bar standalone bundle ships its own copy of Vue. If you already use Vue in the host page, prefer importing enableAutopilotBar from @llmor/autopilot-bar through your bundler — but the standalone IIFE is the simplest possible integration.
Hosted URLs
https://docs.llmor.com/autopilot-client/pkg/cdn/autopilot-core.standalone.min.js
https://docs.llmor.com/autopilot-client/pkg/cdn/autopilot-bar.standalone.min.js
# Version-pinned
https://docs.llmor.com/autopilot-client/pkg/cdn/autopilot-core-1.0.0.standalone.min.js
https://docs.llmor.com/autopilot-client/pkg/cdn/autopilot-bar-1.0.0.standalone.min.jsWhich entry to import
ts
// Headless
import { AutopilotClient } from '@llmor/autopilot-core';
// Vue store + components
import {
useAutopilotStore,
useAutopilotConversation,
AutopilotOverlay,
} from '@llmor/autopilot-vue';
// Drop-in bar
import { enableAutopilotBar } from '@llmor/autopilot-bar';Globals from the standalone bundles
js
// from autopilot-core.standalone.min.js
window.AutopilotClient.useAutopilotClient();
window.AutopilotClient.AutopilotClient; // the class
window.AutopilotClient.setAutopilotClient(client);
// from autopilot-bar.standalone.min.js
window.AutopilotBar.enableAutopilotBar(client);Size guidance
- Core ESM: ~18 KB minified —
socket.io-clientcalls and event plumbing. - Core standalone: ~70 KB — adds Socket.IO and JSON Patch.
- Vue layer ESM: ~34 KB — adds the store, composables, and Vue components (but not Vue itself).
- Bar standalone: ~2.8 MB — adds Vue 3, Pinia, Tailwind output, marked, and Tabler icons. The size cost buys you a working chat UI in one
<script>tag.