tavern-harness 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/vite.config.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tavern-harness",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Tavern Harness — 酒馆模式下的本地 AI Agent 助手(MyAgent-Android 的 Web 复刻)",
5
5
  "private": false,
6
6
  "type": "module",
package/vite.config.ts CHANGED
@@ -263,6 +263,7 @@ function sandboxProxyPlugin(): Plugin {
263
263
  export default defineConfig({
264
264
  plugins: [react(), corsProxyPlugin(), sandboxProxyPlugin()],
265
265
  optimizeDeps: {
266
+ force: true,
266
267
  include: [
267
268
  '@dnd-kit/core',
268
269
  '@dnd-kit/sortable',
@@ -272,7 +273,10 @@ export default defineConfig({
272
273
  'katex',
273
274
  'marked',
274
275
  'react',
276
+ 'react/jsx-runtime',
277
+ 'react/jsx-dev-runtime',
275
278
  'react-dom',
279
+ 'react-dom/client',
276
280
  'use-sync-external-store/shim/with-selector',
277
281
  'zustand',
278
282
  ],