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