deps: moejs v0.1.0

moejs v0.1.0 is out (Ion_Mio_ on X): less memory, about 3x faster than
alpha.11 on V8's benchmark, 2.9x C QuickJS on a 100K-token agent request.
It pulls in github.com/MoeForge/moego (MIT) for base64.

THIRD_PARTY_NOTICES names v0.1.0; sections 1 to 4 of moejs's notices are
the same as at alpha.11 (diffed). go mod tidy also marks gen2brain/h265
and santhosh-tekuri/jsonschema direct, which internal/gateway imports.

Run at 608c1543e plus this change (the rebase onto 93bbcc8bf adds only
that gateway commit):
- mote (macOS): GOOS=windows go vet ./... ok; go test -timeout 45m ./...
  88 packages ok, internal/gui red on TestGatewayModeStatsNameTheGatewaySessions
  alone, 3 of 3 on origin/main b475004d5 too (#5690, first hour of a local
  day; mote ran at 00:37 PST).
- magpie-desktop (Linux): go vet -tags gtk3 ./... ok; agentplug,
  middleware, plugin ok.
Not tried: a real plugin in a running magpie.
This commit is contained in:
yetone
2026-11-09 16:57:15 +08:00
parent 93bbcc8bfb
commit 9a00bfed14
3 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ magpie third-party notices
magpie is built with moejs (https://github.com/MoeForge/moejs,
Apache License 2.0), a JavaScript engine that runs gateway plugins. moejs
compiles the material below into every magpie binary, and its notices,
sections 1 to 4 of moejs's THIRD_PARTY_NOTICES at v0.1.0-alpha.11,
sections 1 to 4 of moejs's THIRD_PARTY_NOTICES at v0.1.0,
follow verbatim.
------------------------------------------------------------------------
+4 -3
View File
@@ -3,18 +3,20 @@ module github.com/yetone/magpie
go 1.26.8
require (
github.com/MoeForge/moejs v0.1.0-alpha.11
github.com/MoeForge/moejs v0.1.0
github.com/charmbracelet/bubbles v0.21.1
github.com/charmbracelet/bubbletea v1.3.10
github.com/charmbracelet/lipgloss v1.1.1-0.20250404203927-76690c660834
github.com/clipperhouse/uax29/v2 v2.5.0
github.com/coder/websocket v1.8.14
github.com/fsnotify/fsnotify v1.9.0
github.com/gen2brain/h265 v0.2.4
github.com/go-ole/go-ole v1.3.0
github.com/godbus/dbus/v5 v5.2.2
github.com/google/uuid v1.6.0
github.com/klauspost/compress v1.18.3
github.com/pelletier/go-toml/v2 v2.2.4
github.com/santhosh-tekuri/jsonschema/v6 v6.0.3
github.com/tidwall/gjson v1.19.0
github.com/tidwall/jsonc v0.3.3
github.com/wailsapp/wails/v3 v3.0.0-beta.24
@@ -30,6 +32,7 @@ require (
require (
git.sr.ht/~jackmordaunt/go-toast/v2 v2.0.3 // indirect
github.com/MoeForge/moego v0.1.0-alpha.1 // indirect
github.com/adrg/xdg v0.5.3 // indirect
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
@@ -41,7 +44,6 @@ require (
github.com/clipperhouse/stringish v0.1.1 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
github.com/gen2brain/h265 v0.2.4 // indirect
github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -53,7 +55,6 @@ require (
github.com/ncruces/go-strftime v1.0.0 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/santhosh-tekuri/jsonschema/v6 v6.0.3 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
+6 -2
View File
@@ -1,7 +1,9 @@
git.sr.ht/~jackmordaunt/go-toast/v2 v2.0.3 h1:N3IGoHHp9pb6mj1cbXbuaSXV/UMKwmbKLf53nQmtqMA=
git.sr.ht/~jackmordaunt/go-toast/v2 v2.0.3/go.mod h1:QtOLZGz8olr4qH2vWK0QH0w0O4T9fEIjMuWpKUsH7nc=
github.com/MoeForge/moejs v0.1.0-alpha.11 h1:VVDuqn14Dzlhcs17gDp3X43uvKkxi7OK7SZvkd0moEc=
github.com/MoeForge/moejs v0.1.0-alpha.11/go.mod h1:YG2Y3bZuThN7hkSBext9MHPUPSrAIdpiE+6v+QO+LX0=
github.com/MoeForge/moego v0.1.0-alpha.1 h1:d+asBZu+2oKnBj1kzdvdANMStbIKw9BLCpknuWjiR28=
github.com/MoeForge/moego v0.1.0-alpha.1/go.mod h1:SBNiQjCpWC3IEBMKFBOwOyhhQ3jywMrISqCwJTdr4aA=
github.com/MoeForge/moejs v0.1.0 h1:w5/bM4wVRrnMdLbQG32BM+yVcoA9wjQqdGlX3XekzG4=
github.com/MoeForge/moejs v0.1.0/go.mod h1:GDaH0vQSxKDN7FCyBaLEZgqsGKRyIYBfje/p74aZQ3k=
github.com/adrg/xdg v0.5.3 h1:xRnxJXne7+oWDatRhR1JLnvuccuIeCoBu2rtuLqQB78=
github.com/adrg/xdg v0.5.3/go.mod h1:nlTsY+NNiCBGCK2tpm09vRqfVzrc2fLmXGpBLF0zlTQ=
github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4=
@@ -30,6 +32,8 @@ github.com/clipperhouse/uax29/v2 v2.5.0 h1:x7T0T4eTHDONxFJsL94uKNKPHrclyFI0lm7+w
github.com/clipperhouse/uax29/v2 v2.5.0/go.mod h1:Wn1g7MK6OoeDT0vL+Q0SQLDz/KpfsVRgg6W7ihQeh4g=
github.com/coder/websocket v1.8.14 h1:9L0p0iKiNOibykf283eHkKUHHrpG7f65OE3BhhO7v9g=
github.com/coder/websocket v1.8.14/go.mod h1:NX3SzP+inril6yawo5CQXx8+fk145lPDC6pumgx0mVg=
github.com/dlclark/regexp2 v1.11.5 h1:Q/sSnsKerHeCkc/jSTNq1oCm7KiVgUMZRDUoRu0JQZQ=
github.com/dlclark/regexp2 v1.11.5/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f h1:Y/CXytFA4m6baUTXGLOoWe4PQhGxaX0KpnayAqC48p4=