@standardagents/builder 0.9.4 → 0.9.7

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.
package/dist/index.js CHANGED
@@ -5851,14 +5851,19 @@ function agentbuilder(options = {}) {
5851
5851
  config() {
5852
5852
  return {
5853
5853
  optimizeDeps: {
5854
- // Pre-bundle these deps to prevent reload during startup
5855
- include: ["openai", "zod"],
5856
- // Exclude workspace packages from pre-bundling to prevent "new version of pre-bundle" errors
5857
- // during first startup when node_modules/.vite cache is empty
5858
- exclude: [
5859
- "@standardagents/builder/mcp",
5854
+ // Pre-bundle these deps upfront to prevent "new version of pre-bundle" errors
5855
+ // during first startup when node_modules/.vite cache is empty.
5856
+ // These are discovered dynamically by the virtual modules, so we need to
5857
+ // tell Vite about them ahead of time.
5858
+ include: [
5859
+ "openai",
5860
+ "zod",
5860
5861
  "@standardagents/builder/runtime",
5861
5862
  "@standardagents/builder/built-in-routes"
5863
+ ],
5864
+ // Exclude MCP as it's not used in the main app
5865
+ exclude: [
5866
+ "@standardagents/builder/mcp"
5862
5867
  ]
5863
5868
  },
5864
5869
  ssr: {