@aiti-ai/aiti-model-recent 0.1.12 → 0.1.13

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 +2 -2
  2. package/vite.config.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiti-ai/aiti-model-recent",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "type": "module",
5
5
  "description": "The model selector's \"recently used\" data provider — a pure service extension (zero UI); the panel's recent section fetches data synchronously and pick events feed the LRU; the localStorage key matches the original implementation, zero migration",
6
6
  "displayNameI18n": {
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "aitiExtProtocol": "1.0",
28
28
  "license": "MIT",
29
- "contentHash": "b7d4949113880577",
29
+ "contentHash": "3078a124294cc109",
30
30
  "repository": {
31
31
  "type": "git",
32
32
  "url": "git+https://github.com/aiti-ai/aiti-ai.git",
package/vite.config.ts CHANGED
@@ -30,6 +30,10 @@ export default defineConfig({
30
30
  esbuild: {
31
31
  jsx: "automatic",
32
32
  jsxImportSource: "react",
33
+ // Production lib bundle: never let the JSX runtime follow the build shell's NODE_ENV.
34
+ // Vite infers jsxDev from NODE_ENV; a build from a dev-instance shell inherits
35
+ // NODE_ENV=development -> jsxDEV(), but jsx-runtime.ts only exports jsx/jsxs/Fragment.
36
+ jsxDev: false,
33
37
  },
34
38
  resolve: {
35
39
  alias: [