Why: Downstream products need a published extension surface, contract checks, and a sample plugin that does not modify the base. Evidence: scripts/lint-boundaries.sh printed boundaries ok. examples/downstream-rdm go test passed. Submodule pointers record the core, documents, backend, ui, and frontend commits for this roadmap. Impact: make test runs the boundary lint first. make plugin-new scaffolds a declaration plugin. Version tags and remote downstream repositories are not created. Refs: .task/feature-base-extension-roadmap.md Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
272 B
JavaScript
9 lines
272 B
JavaScript
export function mount(el, bridge) {
|
|
const btn = document.createElement('button')
|
|
btn.type = 'button'
|
|
btn.textContent = '走命令'
|
|
btn.addEventListener('click', () => bridge.execCommand('builtin.help', {}))
|
|
el.replaceChildren(btn)
|
|
}
|
|
export function unmount() {}
|