@octanejs/mcp-server 0.2.22 → 0.2.23
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 +4 -2
- package/package.json +1 -1
- package/src/bridge.js +12 -0
- package/src/bridge.test.js +9 -0
- package/src/index.js +18 -0
- package/src/index.test.js +4 -0
package/README.md
CHANGED
|
@@ -163,9 +163,11 @@ one manifest suite by name (`js-framework`, `todomvc`, `weather-app`,
|
|
|
163
163
|
`controlled-form`, `external-store-fanout`, `external-store-integrations`,
|
|
164
164
|
`scheduler-responsiveness`, `suspense-recovery`, `event-delegation`,
|
|
165
165
|
`application-composition`, `scaling-curves`, `dev-form-diagnostics`,
|
|
166
|
-
`behavior-root-events`, `
|
|
166
|
+
`behavior-root-events`, `radix-collection-order`, `router-dispatch`,
|
|
167
|
+
`floating-tree-navigation`, `manifest-cache-invalidation`, `vite-client-assets`, `activity`,
|
|
168
|
+
`streaming-ssr`, `streaming-backpressure`,
|
|
167
169
|
`compiler-throughput`, `tsrx-component-graph`, `codegen-size`, `hook-memo`,
|
|
168
|
-
`template-call-memo`, `bundle-size`, `bundle-reachability`, `three-renderer`,
|
|
170
|
+
`template-call-memo`, `tsrx-renderer-selection`, `bundle-size`, `bundle-reachability`, `three-renderer`,
|
|
169
171
|
`three-bundle-size`, …)
|
|
170
172
|
or every suite with `all`; `quick` selects the reduced-iteration smoke pass. The
|
|
171
173
|
suite list mirrors the runner manifest and `node benchmarks/bench.mjs --list`.
|
package/package.json
CHANGED
package/src/bridge.js
CHANGED
|
@@ -30,6 +30,7 @@ export const KNOWN_BINDINGS = {
|
|
|
30
30
|
'@tanstack/react-store': '@octanejs/tanstack-store',
|
|
31
31
|
'@xstate/react': '@octanejs/xstate',
|
|
32
32
|
'@xstate/store-react': '@octanejs/xstate-store',
|
|
33
|
+
'@xyflow/react': '@octanejs/xyflow',
|
|
33
34
|
'@tanstack/react-router-ssr-query': '@octanejs/tanstack-router-ssr-query',
|
|
34
35
|
'@tanstack/react-hotkeys': '@octanejs/tanstack-hotkeys',
|
|
35
36
|
'@tanstack/react-pacer': '@octanejs/tanstack-pacer',
|
|
@@ -50,6 +51,10 @@ export const KNOWN_BINDINGS = {
|
|
|
50
51
|
'@lexical/react': '@octanejs/lexical',
|
|
51
52
|
'@tiptap/react': '@octanejs/tiptap',
|
|
52
53
|
'react-pdf': '@octanejs/pdf',
|
|
54
|
+
'@portabletext/react': '@octanejs/portabletext',
|
|
55
|
+
'@sanity/icons': '@octanejs/sanity-icons',
|
|
56
|
+
'@sanity/react-loader': '@octanejs/sanity-loader',
|
|
57
|
+
'@sanity/logos': '@octanejs/sanity-logos',
|
|
53
58
|
'@monaco-editor/react': '@octanejs/monaco-editor',
|
|
54
59
|
'lucide-react': '@octanejs/lucide',
|
|
55
60
|
'@phosphor-icons/react': '@octanejs/phosphor-icons',
|
|
@@ -60,13 +65,17 @@ export const KNOWN_BINDINGS = {
|
|
|
60
65
|
'react-stately': '@octanejs/aria',
|
|
61
66
|
'radix-ui': '@octanejs/radix',
|
|
62
67
|
'react-hook-form': '@octanejs/hook-form',
|
|
68
|
+
'better-auth/react': '@octanejs/better-auth',
|
|
63
69
|
'@base-ui-components/react': '@octanejs/base-ui',
|
|
64
70
|
'@dnd-kit/react': '@octanejs/dnd-kit',
|
|
65
71
|
'embla-carousel-react': '@octanejs/embla-carousel',
|
|
66
72
|
'react-dropzone': '@octanejs/dropzone',
|
|
67
73
|
sonner: '@octanejs/sonner',
|
|
68
74
|
'react-error-boundary': '@octanejs/react-error-boundary',
|
|
75
|
+
'react-email': '@octanejs/email',
|
|
76
|
+
'@react-email/components': '@octanejs/email',
|
|
69
77
|
'react-resizable-panels': '@octanejs/resizable-panels',
|
|
78
|
+
'react-select': '@octanejs/select',
|
|
70
79
|
'react-transition-group': '@octanejs/transition-group',
|
|
71
80
|
'react-day-picker': '@octanejs/day-picker',
|
|
72
81
|
'input-otp': '@octanejs/input-otp',
|
|
@@ -81,6 +90,7 @@ export const KNOWN_BINDINGS = {
|
|
|
81
90
|
'react-content-loader': '@octanejs/content-loader',
|
|
82
91
|
'react-to-print': '@octanejs/to-print',
|
|
83
92
|
'react-calendar': '@octanejs/calendar',
|
|
93
|
+
'thinking-orbs': '@octanejs/thinking-orbs',
|
|
84
94
|
'@formkit/auto-animate': '@octanejs/auto-animate',
|
|
85
95
|
streamdown: '@octanejs/streamdown',
|
|
86
96
|
'react-syntax-highlighter': '@octanejs/syntax-highlighter',
|
|
@@ -172,6 +182,7 @@ export const KNOWN_BINDINGS = {
|
|
|
172
182
|
export const KNOWN_NATIVE_BINDINGS = new Set([
|
|
173
183
|
'@octanejs/devtools',
|
|
174
184
|
'@octanejs/electron',
|
|
185
|
+
'@octanejs/email-cli',
|
|
175
186
|
'@octanejs/tauri',
|
|
176
187
|
]);
|
|
177
188
|
|
|
@@ -199,6 +210,7 @@ export const KNOWN_VANILLA_CORES = {
|
|
|
199
210
|
'embla-carousel-react': 'embla-carousel',
|
|
200
211
|
'@xstate/react': 'xstate',
|
|
201
212
|
'@xstate/store-react': '@xstate/store',
|
|
213
|
+
'@xyflow/react': '@xyflow/system',
|
|
202
214
|
'react-redux': 'redux',
|
|
203
215
|
'@reduxjs/toolkit': 'redux',
|
|
204
216
|
'react-i18next': 'i18next',
|
package/src/bridge.test.js
CHANGED
|
@@ -298,6 +298,10 @@ describe('KNOWN_BINDINGS', () => {
|
|
|
298
298
|
expect(KNOWN_BINDINGS['react-textarea-autosize']).toBe('@octanejs/textarea-autosize');
|
|
299
299
|
});
|
|
300
300
|
|
|
301
|
+
it('maps react-select to the exact Octane binding', () => {
|
|
302
|
+
expect(KNOWN_BINDINGS['react-select']).toBe('@octanejs/select');
|
|
303
|
+
});
|
|
304
|
+
|
|
301
305
|
it('maps react-window to its exact official Octane binding', () => {
|
|
302
306
|
expect(KNOWN_BINDINGS['react-window']).toBe('@octanejs/window');
|
|
303
307
|
});
|
|
@@ -307,6 +311,11 @@ describe('KNOWN_BINDINGS', () => {
|
|
|
307
311
|
expect(KNOWN_VANILLA_CORES['@tanstack/react-db']).toBe('@tanstack/db');
|
|
308
312
|
});
|
|
309
313
|
|
|
314
|
+
it('maps XYFlow React to the Octane binding and framework-neutral system core', () => {
|
|
315
|
+
expect(KNOWN_BINDINGS['@xyflow/react']).toBe('@octanejs/xyflow');
|
|
316
|
+
expect(KNOWN_VANILLA_CORES['@xyflow/react']).toBe('@xyflow/system');
|
|
317
|
+
});
|
|
318
|
+
|
|
310
319
|
it('maps Streamdown and every official plugin package to the consolidated binding', () => {
|
|
311
320
|
const upstreamPackages = [
|
|
312
321
|
'streamdown',
|
package/src/index.js
CHANGED
|
@@ -55,6 +55,7 @@ export const BENCHMARK_SUITES = [
|
|
|
55
55
|
'recursive-context',
|
|
56
56
|
'spa-navigation',
|
|
57
57
|
'scoped-signals',
|
|
58
|
+
'scoped-signals-trace',
|
|
58
59
|
'scoped-native-reads',
|
|
59
60
|
'signal-favoring',
|
|
60
61
|
'news',
|
|
@@ -71,9 +72,16 @@ export const BENCHMARK_SUITES = [
|
|
|
71
72
|
'scaling-curves',
|
|
72
73
|
'dev-form-diagnostics',
|
|
73
74
|
'scheduler-depth',
|
|
75
|
+
'hydration-range-compaction',
|
|
76
|
+
'deferred-hydration-boundaries',
|
|
77
|
+
'hydration-render-phase-queue',
|
|
74
78
|
'behavior-root-events',
|
|
79
|
+
'radix-collection-order',
|
|
75
80
|
'router-dispatch',
|
|
81
|
+
'visx-categorical-scale',
|
|
82
|
+
'rspack-css-graph',
|
|
76
83
|
'floating-tree-navigation',
|
|
84
|
+
'ink-cursor-update',
|
|
77
85
|
'manifest-cache-invalidation',
|
|
78
86
|
'vite-client-assets',
|
|
79
87
|
'store-selector-fanout',
|
|
@@ -95,7 +103,10 @@ export const BENCHMARK_SUITES = [
|
|
|
95
103
|
'async-waterfall',
|
|
96
104
|
'async-composition',
|
|
97
105
|
'lynx-list',
|
|
106
|
+
'lynx-handle-retirement',
|
|
98
107
|
'universal-leaf-update',
|
|
108
|
+
'universal-object-teardown',
|
|
109
|
+
'universal-template-events',
|
|
99
110
|
'universal-external-store',
|
|
100
111
|
'lynx-render',
|
|
101
112
|
'lynx-table',
|
|
@@ -106,10 +117,17 @@ export const BENCHMARK_SUITES = [
|
|
|
106
117
|
'template-call-memo',
|
|
107
118
|
'compiler-throughput',
|
|
108
119
|
'tsrx-component-graph',
|
|
120
|
+
'tsrx-void-memo-aliases',
|
|
121
|
+
'tsrx-hydrate-module-slicing',
|
|
122
|
+
'tsrx-stable-hookful-propagation',
|
|
123
|
+
'tsrx-renderer-validation-ranges',
|
|
124
|
+
'tsrx-local-component-name-catalog',
|
|
109
125
|
'tsrx-jsx-return-branches',
|
|
110
126
|
'text-type-roots',
|
|
111
127
|
'tsrx-nesting-diagnostics',
|
|
128
|
+
'tsrx-renderer-selection',
|
|
112
129
|
'tsrx-native-change-analysis',
|
|
130
|
+
'tsrx-vite-preflight-parsing',
|
|
113
131
|
'bundle-size',
|
|
114
132
|
'bundle-reachability',
|
|
115
133
|
'three-renderer',
|
package/src/index.test.js
CHANGED
|
@@ -76,6 +76,10 @@ describe('@octanejs/mcp-server helpers', () => {
|
|
|
76
76
|
.split('\n')
|
|
77
77
|
.map((line) => line.trim())
|
|
78
78
|
.filter((line) => line && line !== 'Available suites:');
|
|
79
|
+
expect(suites).toContain('tsrx-hydrate-module-slicing');
|
|
80
|
+
expect(suites).toContain('tsrx-stable-hookful-propagation');
|
|
81
|
+
expect(suites).toContain('tsrx-renderer-validation-ranges');
|
|
82
|
+
expect(suites).toContain('tsrx-local-component-name-catalog');
|
|
79
83
|
expect(suites).toEqual(BENCHMARK_SUITES);
|
|
80
84
|
|
|
81
85
|
// The public MCP schema must accept every runner suite, not just keep
|