@octanejs/mcp-server 0.2.10 → 0.2.11
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/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/mcp-server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
|
-
"node": ">=22"
|
|
6
|
+
"node": ">=22.22.2"
|
|
7
7
|
},
|
|
8
8
|
"description": "MCP server exposing Octane repository automation for coding agents.",
|
|
9
9
|
"license": "MIT",
|
|
@@ -87,6 +87,10 @@ So a bridge never means "run the React package unchanged". It means:
|
|
|
87
87
|
synthetic-event timing) goes in a short divergence note next to the port, with
|
|
88
88
|
what to do instead. On an upgrade, re-copy at the new version: the diff
|
|
89
89
|
against the old copy is your work list.
|
|
90
|
+
Inspect both the published package and the canonical repository at the pinned
|
|
91
|
+
tag. Do not assume the registry artifact contains source, tests, fixtures,
|
|
92
|
+
snapshots, or runner configuration; fetch missing evidence from the tagged
|
|
93
|
+
repository and record which artifact supplied it.
|
|
90
94
|
|
|
91
95
|
3. **Map the React APIs.** Same-name and same-semantics in Octane: `useState`,
|
|
92
96
|
`useReducer`, `useEffect`, `useLayoutEffect`, `useInsertionEffect`, `useMemo`,
|
|
@@ -153,6 +157,10 @@ So a bridge never means "run the React package unchanged". It means:
|
|
|
153
157
|
names kept. Write down which upstream test files you ran, ported, or left out
|
|
154
158
|
and why. Do not soften an upstream assertion to get it green; find out whether
|
|
155
159
|
it is a bridge bug or a documented Octane divergence first.
|
|
160
|
+
Prove the evidence machinery fails closed too: removing, renaming, skipping,
|
|
161
|
+
or failing to execute a recorded case, or changing pinned evidence, must make
|
|
162
|
+
validation fail. A green port suite is not trustworthy when its collector can
|
|
163
|
+
silently go stale.
|
|
156
164
|
|
|
157
165
|
8. **Validate the rest.** Drive real DOM events against the bridged binding and,
|
|
158
166
|
where possible, run the same fixture against the React original and compare
|
|
@@ -34,6 +34,9 @@ details but do not replace these gates.
|
|
|
34
34
|
hydration with production-compiled output and preserve abort/error behavior.
|
|
35
35
|
- Treat bundle size and dependency cost as performance. Check for an official
|
|
36
36
|
binding before adding a compatibility layer or a second framework runtime.
|
|
37
|
+
- Publish every importable `.tsrx`, `.tsx`, `.ts`, and `.js` module as authored
|
|
38
|
+
and point package exports at that source. Do not ship Octane compiler output;
|
|
39
|
+
let the consuming application compile the source with its own toolchain.
|
|
37
40
|
- When you do port a React package yourself, work from a pinned copy of that
|
|
38
41
|
release's source kept beside your port, cover its exports rather than the demo
|
|
39
42
|
path, and write down what parity could not reach. The `bridge-react-package`
|
package/src/bridge.js
CHANGED
|
@@ -121,7 +121,11 @@ export const KNOWN_BINDINGS = {
|
|
|
121
121
|
// Octane-specific ecosystem packages that have no React import to rewrite.
|
|
122
122
|
// Keep these out of KNOWN_BINDINGS so the React bridge never invents a source
|
|
123
123
|
// package mapping for native tooling.
|
|
124
|
-
export const KNOWN_NATIVE_BINDINGS = new Set([
|
|
124
|
+
export const KNOWN_NATIVE_BINDINGS = new Set([
|
|
125
|
+
'@octanejs/devtools',
|
|
126
|
+
'@octanejs/electron',
|
|
127
|
+
'@octanejs/tauri',
|
|
128
|
+
]);
|
|
125
129
|
|
|
126
130
|
// Workspace directory names for the maintained bindings. Keep this derived
|
|
127
131
|
// from both catalogs so repository path routing cannot drift from the public
|