@octanejs/mcp-server 0.2.18 → 0.2.20
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/README.md +3 -2
- package/package.json +1 -1
- package/skills/bridge-react-package.md +2 -5
- package/src/bridge.js +18 -1
- package/src/index.js +4 -0
package/README.md
CHANGED
|
@@ -162,8 +162,9 @@ one manifest suite by name (`js-framework`, `todomvc`, `weather-app`,
|
|
|
162
162
|
`hydration-interactivity`, `hydration-stress`, `lifecycle-memory`,
|
|
163
163
|
`controlled-form`, `external-store-fanout`, `external-store-integrations`,
|
|
164
164
|
`scheduler-responsiveness`, `suspense-recovery`, `event-delegation`,
|
|
165
|
-
`application-composition`, `scaling-curves`, `
|
|
166
|
-
`
|
|
165
|
+
`application-composition`, `scaling-curves`, `dev-form-diagnostics`,
|
|
166
|
+
`behavior-root-events`, `activity`, `streaming-ssr`, `streaming-backpressure`,
|
|
167
|
+
`compiler-throughput`, `tsrx-component-graph`, `codegen-size`, `hook-memo`,
|
|
167
168
|
`bundle-size`, `bundle-reachability`, `three-renderer`, `three-bundle-size`, …)
|
|
168
169
|
or every suite with `all`; `quick` selects the reduced-iteration smoke pass. The
|
|
169
170
|
suite list mirrors the runner manifest and `node benchmarks/bench.mjs --list`.
|
package/package.json
CHANGED
|
@@ -39,6 +39,7 @@ of bridging by hand:
|
|
|
39
39
|
| `@streamdown/mermaid` | `@octanejs/streamdown/mermaid` |
|
|
40
40
|
| `@streamdown/cjk` | `@octanejs/streamdown/cjk` |
|
|
41
41
|
| `recharts` | `@octanejs/recharts` |
|
|
42
|
+
| `react-resizable-panels` | `@octanejs/resizable-panels` |
|
|
42
43
|
| `@react-three/fiber` | `@octanejs/three` |
|
|
43
44
|
| `@visx/*` | `@octanejs/visx` |
|
|
44
45
|
| `react-redux` | `@octanejs/redux` |
|
|
@@ -128,11 +129,7 @@ So a bridge never means "run the React package unchanged". It means:
|
|
|
128
129
|
the official bindings:
|
|
129
130
|
|
|
130
131
|
```ts
|
|
131
|
-
import { useMemo, useRef } from 'octane';
|
|
132
|
-
|
|
133
|
-
export function subSlot(slot: symbol | undefined, tag: string) {
|
|
134
|
-
return slot !== undefined ? Symbol.for((slot.description ?? '') + ':' + tag) : undefined;
|
|
135
|
-
}
|
|
132
|
+
import { subSlot, useMemo, useRef } from 'octane';
|
|
136
133
|
|
|
137
134
|
export function useControllableState(opts, slot?: symbol) {
|
|
138
135
|
const valueRef = useRef(opts.defaultValue, subSlot(slot, 'value'));
|
package/src/bridge.js
CHANGED
|
@@ -16,22 +16,26 @@ export const KNOWN_BINDINGS = {
|
|
|
16
16
|
'mobx-react-lite': '@octanejs/mobx',
|
|
17
17
|
'mobx-react': '@octanejs/mobx',
|
|
18
18
|
'@apollo/client': '@octanejs/apollo-client',
|
|
19
|
-
'@solana/react': '@octanejs/solana-
|
|
19
|
+
'@solana/react': '@octanejs/solana-kit',
|
|
20
20
|
'@tanstack/ai-react': '@octanejs/tanstack-ai',
|
|
21
21
|
'@tanstack/react-db': '@octanejs/tanstack-db',
|
|
22
22
|
'@tanstack/react-devtools': '@octanejs/tanstack-devtools',
|
|
23
23
|
'@tanstack/react-form': '@octanejs/tanstack-form',
|
|
24
|
+
'@formisch/react': '@octanejs/formisch',
|
|
24
25
|
'@tanstack/react-query': '@octanejs/tanstack-query',
|
|
25
26
|
swr: '@octanejs/swr',
|
|
26
27
|
wagmi: '@octanejs/wagmi',
|
|
27
28
|
'@rainbow-me/rainbowkit': '@octanejs/rainbowkit',
|
|
28
29
|
'@tanstack/react-router': '@octanejs/tanstack-router',
|
|
29
30
|
'@tanstack/react-store': '@octanejs/tanstack-store',
|
|
31
|
+
'@xstate/react': '@octanejs/xstate',
|
|
32
|
+
'@xstate/store-react': '@octanejs/xstate-store',
|
|
30
33
|
'@tanstack/react-router-ssr-query': '@octanejs/tanstack-router-ssr-query',
|
|
31
34
|
'@tanstack/react-hotkeys': '@octanejs/tanstack-hotkeys',
|
|
32
35
|
'@tanstack/react-pacer': '@octanejs/tanstack-pacer',
|
|
33
36
|
'@tanstack/react-table': '@octanejs/tanstack-table',
|
|
34
37
|
'@tanstack/react-virtual': '@octanejs/tanstack-virtual',
|
|
38
|
+
'react-waypoint': '@octanejs/waypoint',
|
|
35
39
|
'react-window': '@octanejs/window',
|
|
36
40
|
'framer-motion': '@octanejs/motion',
|
|
37
41
|
motion: '@octanejs/motion',
|
|
@@ -62,6 +66,7 @@ export const KNOWN_BINDINGS = {
|
|
|
62
66
|
'react-dropzone': '@octanejs/dropzone',
|
|
63
67
|
sonner: '@octanejs/sonner',
|
|
64
68
|
'react-error-boundary': '@octanejs/react-error-boundary',
|
|
69
|
+
'react-resizable-panels': '@octanejs/resizable-panels',
|
|
65
70
|
'react-transition-group': '@octanejs/transition-group',
|
|
66
71
|
'react-day-picker': '@octanejs/day-picker',
|
|
67
72
|
'input-otp': '@octanejs/input-otp',
|
|
@@ -71,6 +76,12 @@ export const KNOWN_BINDINGS = {
|
|
|
71
76
|
'react-intersection-observer': '@octanejs/intersection-observer',
|
|
72
77
|
'react-draggable': '@octanejs/draggable',
|
|
73
78
|
'react-colorful': '@octanejs/colorful',
|
|
79
|
+
'use-stick-to-bottom': '@octanejs/stick-to-bottom',
|
|
80
|
+
'react-image-crop': '@octanejs/image-crop',
|
|
81
|
+
'react-content-loader': '@octanejs/content-loader',
|
|
82
|
+
'react-to-print': '@octanejs/to-print',
|
|
83
|
+
'react-calendar': '@octanejs/calendar',
|
|
84
|
+
'@formkit/auto-animate': '@octanejs/auto-animate',
|
|
74
85
|
streamdown: '@octanejs/streamdown',
|
|
75
86
|
'react-syntax-highlighter': '@octanejs/syntax-highlighter',
|
|
76
87
|
// The official plugins are consolidated as subpaths of the same package.
|
|
@@ -88,6 +99,7 @@ export const KNOWN_BINDINGS = {
|
|
|
88
99
|
'react-map-gl/mapbox': '@octanejs/react-map-gl',
|
|
89
100
|
'@vis.gl/react-mapbox': '@octanejs/react-map-gl',
|
|
90
101
|
'@react-three/fiber': '@octanejs/three',
|
|
102
|
+
'@opentui/react': '@octanejs/opentui',
|
|
91
103
|
'@react-three/drei': '@octanejs/drei',
|
|
92
104
|
'@visx/visx': '@octanejs/visx',
|
|
93
105
|
'@visx/a11y': '@octanejs/visx',
|
|
@@ -145,11 +157,13 @@ export const KNOWN_BINDINGS = {
|
|
|
145
157
|
'@react-rxjs/utils': '@octanejs/rxjs',
|
|
146
158
|
'@testing-library/react': '@octanejs/testing-library',
|
|
147
159
|
'react-i18next': '@octanejs/i18next',
|
|
160
|
+
'html-react-parser': '@octanejs/html-react-parser',
|
|
148
161
|
'@inertiajs/react': '@octanejs/inertia',
|
|
149
162
|
ink: '@octanejs/ink',
|
|
150
163
|
'@mdx-js/react': '@octanejs/mdx',
|
|
151
164
|
'dexie-react-hooks': '@octanejs/dexie',
|
|
152
165
|
'@livestore/react': '@octanejs/livestore',
|
|
166
|
+
wouter: '@octanejs/wouter',
|
|
153
167
|
};
|
|
154
168
|
|
|
155
169
|
// Octane-specific ecosystem packages that have no React import to rewrite.
|
|
@@ -181,12 +195,15 @@ export const KNOWN_VANILLA_CORES = {
|
|
|
181
195
|
'@tanstack/react-form': '@tanstack/form-core',
|
|
182
196
|
'@floating-ui/react': '@floating-ui/dom',
|
|
183
197
|
'@dnd-kit/react': '@dnd-kit/dom',
|
|
198
|
+
'@opentui/react': '@opentui/core',
|
|
184
199
|
'embla-carousel-react': 'embla-carousel',
|
|
185
200
|
'@xstate/react': 'xstate',
|
|
201
|
+
'@xstate/store-react': '@xstate/store',
|
|
186
202
|
'react-redux': 'redux',
|
|
187
203
|
'@reduxjs/toolkit': 'redux',
|
|
188
204
|
'react-i18next': 'i18next',
|
|
189
205
|
'react-hook-form': null,
|
|
206
|
+
'@formkit/auto-animate': '@formkit/auto-animate',
|
|
190
207
|
'react-alien-signals': 'alien-signals',
|
|
191
208
|
zustand: 'zustand/vanilla',
|
|
192
209
|
valtio: 'valtio/vanilla',
|
package/src/index.js
CHANGED
|
@@ -66,6 +66,8 @@ export const BENCHMARK_SUITES = [
|
|
|
66
66
|
'event-delegation',
|
|
67
67
|
'application-composition',
|
|
68
68
|
'scaling-curves',
|
|
69
|
+
'dev-form-diagnostics',
|
|
70
|
+
'behavior-root-events',
|
|
69
71
|
'store-selector-fanout',
|
|
70
72
|
'hook-store-composition',
|
|
71
73
|
'activity',
|
|
@@ -94,6 +96,8 @@ export const BENCHMARK_SUITES = [
|
|
|
94
96
|
'codegen-size',
|
|
95
97
|
'hook-memo',
|
|
96
98
|
'compiler-throughput',
|
|
99
|
+
'tsrx-component-graph',
|
|
100
|
+
'tsrx-nesting-diagnostics',
|
|
97
101
|
'bundle-size',
|
|
98
102
|
'bundle-reachability',
|
|
99
103
|
'three-renderer',
|