Skip to content

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

FilePackageFormatExternalsUse when
dist/index.min.js@llmor/autopilot-coreESM, minifiedsocket.io-client, fast-json-patchBundler + headless client.
dist/index.cjs.min.js@llmor/autopilot-coreCJS, minifiedsameNode, or a CJS-only bundler.
dist/index.dev.js@llmor/autopilot-coreESM, unminified, sourcemapexternalsLocal dev for the core.
dist/index.standalone.min.js@llmor/autopilot-coreIIFE, minified, ~70 KBnoneA plain <script> tag, no bundler. Exposes window.AutopilotClient.
dist/index.min.js@llmor/autopilot-vueESM, minifiedvue, pinia, @tabler/icons-vue, marked, @llmor/autopilot-coreVue 3 app using the Pinia store / components.
dist/index.dev.js@llmor/autopilot-vueESM, unminified, sourcemapsameLocal dev for the Vue layer.
dist/index.min.js@llmor/autopilot-barESM, minifiedcore + vue + vue + pinia + marked + @tabler/icons-vueBundler using the bar with shared Vue runtime.
dist/index.standalone.min.js@llmor/autopilot-barIIFE, minified, ~2.8 MBnoneDrop-in chat bar via <script> tag. Exposes window.AutopilotBar.
dist/index.standalone.dev.js@llmor/autopilot-barIIFE, unminifiednoneLocal 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.js

Which 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-client calls 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.