This commit is contained in:
Sebastian Herrlinger
2026-03-03 23:15:37 +01:00
parent 8b45247d24
commit 7e1d396427
3 changed files with 25 additions and 5 deletions

View File

@@ -1,16 +1,19 @@
/** @jsxImportSource @opentui/solid */
/** @jsxImportSource ../../packages/opencode/node_modules/@opentui/solid */
import mytheme from "../themes/mytheme.json" with { type: "json" }
const slot = (label) => ({
id: "workspace-smoke",
slots: {
home_hint() {
console.error(`[workspace-smoke] render home_hint (${label})`)
return <text> [plugin:{label}]</text>
},
home_footer() {
console.error(`[workspace-smoke] render home_footer (${label})`)
return <text> theme:workspace-plugin-smoke</text>
},
session_footer(_ctx, props) {
console.error(`[workspace-smoke] render session_footer (${props.session_id.slice(0, 8)})`)
return <text> session:{props.session_id.slice(0, 8)}</text>
},
},