@object-ui/plugin-ai 16.1.0 → 17.2.0

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/CHANGELOG.md +184 -0
  2. package/package.json +7 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,189 @@
1
1
  # @object-ui/plugin-ai
2
2
 
3
+ ## 17.2.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [4ae0ac4]
8
+ - Updated dependencies [696e3c1]
9
+ - Updated dependencies [bca45cc]
10
+ - Updated dependencies [a889e31]
11
+ - Updated dependencies [09d30a4]
12
+ - Updated dependencies [4bf612c]
13
+ - Updated dependencies [335041c]
14
+ - Updated dependencies [b414983]
15
+ - Updated dependencies [256f8cc]
16
+ - Updated dependencies [d9668a7]
17
+ - Updated dependencies [cb82705]
18
+ - Updated dependencies [f572849]
19
+ - Updated dependencies [f6e8d78]
20
+ - Updated dependencies [ea96284]
21
+ - Updated dependencies [d3584c6]
22
+ - Updated dependencies [a8ad6c0]
23
+ - Updated dependencies [444457c]
24
+ - Updated dependencies [850033c]
25
+ - Updated dependencies [022e4c3]
26
+ - Updated dependencies [009e25d]
27
+ - Updated dependencies [726b89c]
28
+ - @object-ui/types@17.2.0
29
+ - @object-ui/components@17.2.0
30
+ - @object-ui/core@17.2.0
31
+ - @object-ui/react@17.2.0
32
+
33
+ ## 17.1.0
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [62311b6]
38
+ - Updated dependencies [fc0272a]
39
+ - Updated dependencies [9e7349e]
40
+ - Updated dependencies [8864971]
41
+ - Updated dependencies [c785740]
42
+ - Updated dependencies [b41f401]
43
+ - Updated dependencies [19e9fa0]
44
+ - Updated dependencies [95b7214]
45
+ - Updated dependencies [7d9734d]
46
+ - Updated dependencies [6ae818e]
47
+ - Updated dependencies [9eb932b]
48
+ - Updated dependencies [746dd00]
49
+ - Updated dependencies [aebfa4f]
50
+ - Updated dependencies [38ca8be]
51
+ - Updated dependencies [68ef584]
52
+ - Updated dependencies [4952edf]
53
+ - Updated dependencies [7f0252e]
54
+ - Updated dependencies [c4d7b20]
55
+ - Updated dependencies [c769d3d]
56
+ - Updated dependencies [7639a61]
57
+ - Updated dependencies [94e63ef]
58
+ - Updated dependencies [c735bf7]
59
+ - Updated dependencies [02aef0c]
60
+ - Updated dependencies [6f29aa5]
61
+ - Updated dependencies [c4db402]
62
+ - Updated dependencies [5319bf1]
63
+ - Updated dependencies [49e5671]
64
+ - Updated dependencies [9a04d25]
65
+ - Updated dependencies [b5b97e2]
66
+ - Updated dependencies [f59f2c1]
67
+ - Updated dependencies [07de839]
68
+ - Updated dependencies [2a40b5e]
69
+ - Updated dependencies [df613fa]
70
+ - Updated dependencies [4874117]
71
+ - Updated dependencies [ad0183a]
72
+ - Updated dependencies [ce08d55]
73
+ - Updated dependencies [eb4b740]
74
+ - Updated dependencies [5b084eb]
75
+ - Updated dependencies [aa1240a]
76
+ - Updated dependencies [2374a49]
77
+ - Updated dependencies [390c071]
78
+ - Updated dependencies [d10f526]
79
+ - Updated dependencies [2d5d594]
80
+ - Updated dependencies [ea7f477]
81
+ - Updated dependencies [379728f]
82
+ - Updated dependencies [7f23cd0]
83
+ - Updated dependencies [0ded602]
84
+ - Updated dependencies [24e0e0a]
85
+ - Updated dependencies [3a6cf24]
86
+ - Updated dependencies [aa35561]
87
+ - Updated dependencies [03bd53b]
88
+ - Updated dependencies [3c1f321]
89
+ - Updated dependencies [a045a32]
90
+ - Updated dependencies [912496d]
91
+ - Updated dependencies [80edbd4]
92
+ - Updated dependencies [9867281]
93
+ - @object-ui/core@17.1.0
94
+ - @object-ui/components@17.1.0
95
+ - @object-ui/react@17.1.0
96
+ - @object-ui/types@17.1.0
97
+
98
+ ## 17.0.0
99
+
100
+ ### Patch Changes
101
+
102
+ - 5b9cf96: fix(plugin-map): drop the `maplibre-gl@6` default import, and put type-check behind a CI gate that cannot be silently skipped (#2911)
103
+
104
+ `maplibre-gl@6.0.0` removed its default export (arrived via #2848, dependabot),
105
+ so `ObjectMap.tsx`'s `import maplibregl from 'maplibre-gl'` has been a TS1192
106
+ error on `main` for a day. The binding was never used — the map instance comes
107
+ from `react-map-gl/maplibre`, and the stylesheet from the side-effect import on
108
+ the next line — so the import is simply deleted rather than rewritten to
109
+ `import * as`.
110
+
111
+ Removing it is runtime-neutral, which the issue had explicitly left unverified.
112
+ `@vis.gl/react-maplibre` (what `react-map-gl/maplibre` re-exports) does
113
+ `Promise.resolve(mapLib || import('maplibre-gl'))` in `components/map.js`, so it
114
+ loads the library itself when no `mapLib` prop is passed. Verified in a browser
115
+ against the `store-locator-map` catalog schema: `maplibre-gl` is fetched as its
116
+ own lazy chunk, the WebGL canvas comes up 800x600, and all three markers mount —
117
+ byte-identical probe output with and without the static import. That also matches
118
+ what `apps/console/src/main.tsx` already intends, where the plugin is registered
119
+ lazily specifically to keep `maplibre-gl` out of the initial bundle.
120
+
121
+ **The reason it survived a day of green CI is the part worth fixing.** No
122
+ workflow ran `type-check` at all, and `turbo build` only checks types for
123
+ packages whose `build` script happens to invoke `tsc` — the 22 `vite build`
124
+ packages transpile without checking. A sweep of all 45 packages found ten with
125
+ broken types, `plugin-map` merely being the one that had a script to notice it.
126
+
127
+ Adding a `pnpm type-check` job alone would not have been a gate: **turbo silently
128
+ skips any package with no `type-check` script**, so 17 packages read as passing
129
+ because nothing ran. With `plugin-map` fixed, `pnpm type-check` reports 63/63
130
+ green while nine packages are still broken. So:
131
+
132
+ - `plugin-ai` and `plugin-report` gain the `paths` override their type-checked
133
+ peers already carry, which detaches workspace deps from sibling _source_ and
134
+ resolves them through built `.d.ts` — the sole cause of the 104-error TS6059
135
+ `rootDir` floods, and the same trick their own `vite.config.ts` already applies
136
+ to the dts program.
137
+ - Seven packages gain `"type-check": "tsc --noEmit"` (`plugin-ai`,
138
+ `plugin-report`, `plugin-dashboard`, `create-plugin`, `console`, and the two
139
+ console examples). Coverage goes 28 -> 35 of 45.
140
+ - New `scripts/check-type-check-coverage.mjs` makes the invisibility impossible:
141
+ a package with no `type-check` script must be declared, with a reason, and the
142
+ lists only shrink — gaining a script without deleting the entry fails the
143
+ guard. The nine known-broken packages are recorded there with error counts
144
+ (`@object-ui/runner` has no `tsconfig.json` at all), tracked as follow-ups.
145
+ - New `Type Check` CI job runs the coverage guard first (instant, no install),
146
+ then `pnpm type-check`.
147
+
148
+ Both halves were proven to fail before being trusted: the guard was exercised in
149
+ all four of its failure modes, and re-introducing the `maplibre-gl` import turns
150
+ the job red again, as does a fresh error injected into `plugin-ai` — a package
151
+ that had no type checking whatsoever before this change.
152
+
153
+ - Updated dependencies [7b21891]
154
+ - Updated dependencies [952b978]
155
+ - Updated dependencies [de5e40c]
156
+ - Updated dependencies [1767124]
157
+ - Updated dependencies [8ecf5a6]
158
+ - Updated dependencies [7b35e4b]
159
+ - Updated dependencies [8fb1295]
160
+ - Updated dependencies [e16ed2d]
161
+ - Updated dependencies [f9bbddb]
162
+ - Updated dependencies [dfd3705]
163
+ - Updated dependencies [c77108c]
164
+ - Updated dependencies [2735de6]
165
+ - Updated dependencies [c19ac11]
166
+ - Updated dependencies [6dee2cb]
167
+ - Updated dependencies [c7cff19]
168
+ - Updated dependencies [cd09a7b]
169
+ - Updated dependencies [f1abf0e]
170
+ - Updated dependencies [f05b84e]
171
+ - Updated dependencies [2f947e4]
172
+ - Updated dependencies [7d46648]
173
+ - Updated dependencies [9b53d72]
174
+ - Updated dependencies [662bdf9]
175
+ - Updated dependencies [059a052]
176
+ - Updated dependencies [53642d4]
177
+ - Updated dependencies [8aae006]
178
+ - Updated dependencies [c6cfdf1]
179
+ - Updated dependencies [d147a13]
180
+ - Updated dependencies [c6aaed8]
181
+ - Updated dependencies [dc334da]
182
+ - @object-ui/components@17.0.0
183
+ - @object-ui/react@17.0.0
184
+ - @object-ui/types@17.0.0
185
+ - @object-ui/core@17.0.0
186
+
3
187
  ## 16.1.0
4
188
 
5
189
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@object-ui/plugin-ai",
3
- "version": "16.1.0",
3
+ "version": "17.2.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.umd.cjs",
6
6
  "module": "dist/index.js",
@@ -26,16 +26,16 @@
26
26
  "clsx": "^2.1.1",
27
27
  "lucide-react": "^1.25.0",
28
28
  "tailwind-merge": "^3.6.0",
29
- "@object-ui/components": "16.1.0",
30
- "@object-ui/core": "16.1.0",
31
- "@object-ui/react": "16.1.0",
32
- "@object-ui/types": "16.1.0"
29
+ "@object-ui/components": "17.2.0",
30
+ "@object-ui/core": "17.2.0",
31
+ "@object-ui/react": "17.2.0",
32
+ "@object-ui/types": "17.2.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "^26.1.1",
36
36
  "@types/react": "19.2.17",
37
37
  "@types/react-dom": "19.2.3",
38
- "@vitejs/plugin-react": "^6.0.3",
38
+ "@vitejs/plugin-react": "^6.0.4",
39
39
  "vite": "^8.1.5",
40
40
  "vite-plugin-dts": "^5.0.3",
41
41
  "vitest": "^4.1.10"
@@ -71,6 +71,7 @@
71
71
  },
72
72
  "scripts": {
73
73
  "build": "vite build",
74
+ "type-check": "tsc --noEmit",
74
75
  "clean": "rm -rf dist",
75
76
  "test": "vitest run --passWithNoTests",
76
77
  "lint": "eslint ."