Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

docs(plugins): drop the "never executes plugin code" claim (#7307)

Jiayuan Zhang8676e063c2d8
diff --git a/packages/plugin-sdk/README.md b/packages/plugin-sdk/README.md
index 011b85e846..ef784d3d55 100644
--- a/packages/plugin-sdk/README.md
+++ b/packages/plugin-sdk/README.md
@@ -14,9 +14,7 @@ multica.ui.resize(320);
## What a surface is
-An ordinary script in a sandboxed iframe. Multica never executes plugin code on
-its servers — a surface runs in the user's browser, or on your own server behind
-a hook.
+An ordinary script in a sandboxed iframe.
The frame is mounted with `sandbox="allow-scripts"` and **not**
`allow-same-origin`, so it has an opaque origin. Consequences worth knowing
diff --git a/server/internal/service/plugin.go b/server/internal/service/plugin.go
index f718f40afb..f6ebc5a086 100644
--- a/server/internal/service/plugin.go
+++ b/server/internal/service/plugin.go
@@ -33,8 +33,7 @@ import (
const LocalSourcePrefix = "local:"
// PluginService owns plugin installation, configuration, and plugin-owned
-// state. It never executes plugin code: a plugin runs only in the user's
-// browser inside a sandboxed iframe, or on the author's own server.
+// state.
type PluginService struct {
Queries *db.Queries
TxStarter TxStarter