FIX: QVAC (QuantumVerse Automatic Computer) Packing
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Desktop Bare worker entry for QVAC (Electron + Node).
|
||||
*
|
||||
* Prefer the file produced by packaging:
|
||||
* - Electron Forge: `@qvac/sdk/electron-forge` → `qvac/worker.bundle.js`
|
||||
* - Local: `npm run build:qvac-worker`
|
||||
*
|
||||
* This hand-written entry is a lean fallback for dev / pear when the SDK
|
||||
* is installed but the bare-pack bundle has not been regenerated yet.
|
||||
*
|
||||
* Plugins match `qvac.config.json` (LLM completion only).
|
||||
*
|
||||
* @see https://docs.qvac.tether.io/tutorials/electron
|
||||
*/
|
||||
import { registerPlugin } from '@qvac/sdk/plugins'
|
||||
import { llmPlugin } from '@qvac/sdk/llamacpp-completion/plugin'
|
||||
|
||||
registerPlugin(llmPlugin)
|
||||
|
||||
// RPC loop without re-registering every built-in plugin.
|
||||
await import('@qvac/sdk/worker-core')
|
||||
Reference in New Issue
Block a user