refactor(web): start Go ABI rewrite of plugins/web (W-G0)

Archive the Rust web plugin and add a Go c-shared skeleton with ABI v2
bridge, build script, design doc/ADR, and smoke test so multi-language
plugins and full web parity can proceed wave by wave.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-10 14:47:43 +08:00
1 parent fb6254e501
commit ca40c698a2
42 files changed
+955 -3

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
---
title: web Go ABI smoke (W-G0)
description: Load Go libweb.so; probe web_go_ready + web_page_new.
import plugin:lib/plugin.mq.md
---
# main
*p = "../../plugins/web/build/libweb.so"*
> plugin.load path=`p`
*r = > web_go_ready*
> print text=`r`
*page = > web_page_new title="Go Web" intro="W-G0" shell_css="" layout="" asset_version=""*
> print text=`page`