mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-26 10:13:27 +08:00
* feat(plugins): support Solid Control UI views Compile plugin TSX with the author-owned Solid compiler and bundle the renderer. Validate retained imports after tree-shaking so dead hydration loaders do not reject client-only views while unbundled runtime imports remain forbidden. Port the X replies page behind the existing view contract and document Solid plugin authoring. Security-relevant builder validation requires owner review before landing. * fix(x): retain Solid rows across reply updates Key account and allowlist rows by stable identities, preserve inline spacing, and record the generated browser asset revision. Exercise the real X bundle and complete the navigation fixture. * fix(plugins): satisfy Solid typing and import boundary checks Use typed native value and ARIA bindings, keep browser fixtures independent of plugin backend type graphs, and traverse emitted imports without type assertions. Preserve the author-installed compiler API assertion with its safety invariant. * chore(plugins): place compiler safety invariant beside assertion * fix(plugins): preserve non-Solid JSX compilation Select the Solid compiler only for an explicit @solidjs/web JSX contract, leaving unmarked TSX on esbuild's existing renderer path. Cover the non-Solid regression and document the Solid pragma. The X asset generation is byte-identical. * style(plugins): make compiler fallback return explicit
26 lines
675 B
JSON
26 lines
675 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
// Plugin production indexed reads must account for missing entries.
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"tsBuildInfoFile": ".artifacts/tsgo-cache/extensions.tsbuildinfo",
|
|
"jsx": "preserve",
|
|
"jsxImportSource": "@solidjs/web"
|
|
},
|
|
"include": ["src/**/*.d.ts", "ui/src/**/*.d.ts", "extensions/**/*"],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"**/dist/**",
|
|
"**/*.test.ts",
|
|
"**/*.test.tsx",
|
|
"**/*test-helpers.ts",
|
|
"**/*test-harness.ts",
|
|
"**/*test-support.ts",
|
|
"extensions/**/test/**",
|
|
"extensions/**/src/test-support/**",
|
|
"test/**"
|
|
]
|
|
}
|