chore(gui): migrate module path to dappco.re/go/gui

Renamed module from forge.lthn.ai/core/gui → dappco.re/go/gui per RFC,
aligning with all graduated Core Go repos. Rewrote 64 *.go files with
self-imports to the new path.

Verification: GOWORK=off go build ./... passes; no stale path in any
*.go file.

Closes tasks.lthn.sh/view.php?id=127

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Codex 2026-04-24 19:38:26 +01:00
parent 3012703763
commit ac7e1e0c4f
65 changed files with 113 additions and 113 deletions

2
go.mod
View file

@ -1,4 +1,4 @@
module forge.lthn.ai/core/gui
module dappco.re/go/gui
go 1.26.0

View file

@ -20,7 +20,7 @@ import (
"dappco.re/go/core/inference"
coreerr "dappco.re/go/core/log"
"dappco.re/go/store"
guimcp "forge.lthn.ai/core/gui/pkg/mcp"
guimcp "dappco.re/go/gui/pkg/mcp"
sdkmcp "github.com/modelcontextprotocol/go-sdk/mcp"
"gopkg.in/yaml.v3"

View file

@ -11,7 +11,7 @@ import (
"time"
core "dappco.re/go/core"
guimcp "forge.lthn.ai/core/gui/pkg/mcp"
guimcp "dappco.re/go/gui/pkg/mcp"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -6,7 +6,7 @@ import (
"strings"
core "dappco.re/go/core"
guimcp "forge.lthn.ai/core/gui/pkg/mcp"
guimcp "dappco.re/go/gui/pkg/mcp"
)
const mcpToolActionPrefix = "mcp.tool."

View file

@ -5,7 +5,7 @@ import (
"fmt"
"strings"
guimcp "forge.lthn.ai/core/gui/pkg/mcp"
guimcp "dappco.re/go/gui/pkg/mcp"
)
type exampleToolExecutor struct{}

View file

@ -9,7 +9,7 @@ import (
"testing"
core "dappco.re/go/core"
guimcp "forge.lthn.ai/core/gui/pkg/mcp"
guimcp "dappco.re/go/gui/pkg/mcp"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -7,8 +7,8 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/webview"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/webview"
"dappco.re/go/gui/pkg/window"
)
type Options struct{}

View file

@ -7,8 +7,8 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/webview"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/webview"
"dappco.re/go/gui/pkg/window"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -6,12 +6,12 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/clipboard"
"forge.lthn.ai/core/gui/pkg/dialog"
"forge.lthn.ai/core/gui/pkg/environment"
"forge.lthn.ai/core/gui/pkg/notification"
"forge.lthn.ai/core/gui/pkg/screen"
"forge.lthn.ai/core/gui/pkg/systray"
"dappco.re/go/gui/pkg/clipboard"
"dappco.re/go/gui/pkg/dialog"
"dappco.re/go/gui/pkg/environment"
"dappco.re/go/gui/pkg/notification"
"dappco.re/go/gui/pkg/screen"
"dappco.re/go/gui/pkg/systray"
)
// Screen is the public display-screen shape used by the display service API.

View file

@ -6,13 +6,13 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/clipboard"
"forge.lthn.ai/core/gui/pkg/dialog"
"forge.lthn.ai/core/gui/pkg/environment"
"forge.lthn.ai/core/gui/pkg/notification"
"forge.lthn.ai/core/gui/pkg/screen"
"forge.lthn.ai/core/gui/pkg/systray"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/clipboard"
"dappco.re/go/gui/pkg/dialog"
"dappco.re/go/gui/pkg/environment"
"dappco.re/go/gui/pkg/notification"
"dappco.re/go/gui/pkg/screen"
"dappco.re/go/gui/pkg/systray"
"dappco.re/go/gui/pkg/window"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -5,10 +5,10 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/clipboard"
"forge.lthn.ai/core/gui/pkg/environment"
"forge.lthn.ai/core/gui/pkg/notification"
"forge.lthn.ai/core/gui/pkg/systray"
"dappco.re/go/gui/pkg/clipboard"
"dappco.re/go/gui/pkg/environment"
"dappco.re/go/gui/pkg/notification"
"dappco.re/go/gui/pkg/systray"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -12,23 +12,23 @@ import (
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/config"
"forge.lthn.ai/core/gui/pkg/chat"
"forge.lthn.ai/core/gui/pkg/clipboard"
"forge.lthn.ai/core/gui/pkg/container"
"forge.lthn.ai/core/gui/pkg/contextmenu"
"forge.lthn.ai/core/gui/pkg/deno"
"forge.lthn.ai/core/gui/pkg/dialog"
"forge.lthn.ai/core/gui/pkg/dock"
"forge.lthn.ai/core/gui/pkg/environment"
"forge.lthn.ai/core/gui/pkg/events"
"forge.lthn.ai/core/gui/pkg/keybinding"
"forge.lthn.ai/core/gui/pkg/lifecycle"
"forge.lthn.ai/core/gui/pkg/menu"
"forge.lthn.ai/core/gui/pkg/notification"
"forge.lthn.ai/core/gui/pkg/screen"
"forge.lthn.ai/core/gui/pkg/systray"
"forge.lthn.ai/core/gui/pkg/webview"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/chat"
"dappco.re/go/gui/pkg/clipboard"
"dappco.re/go/gui/pkg/container"
"dappco.re/go/gui/pkg/contextmenu"
"dappco.re/go/gui/pkg/deno"
"dappco.re/go/gui/pkg/dialog"
"dappco.re/go/gui/pkg/dock"
"dappco.re/go/gui/pkg/environment"
"dappco.re/go/gui/pkg/events"
"dappco.re/go/gui/pkg/keybinding"
"dappco.re/go/gui/pkg/lifecycle"
"dappco.re/go/gui/pkg/menu"
"dappco.re/go/gui/pkg/notification"
"dappco.re/go/gui/pkg/screen"
"dappco.re/go/gui/pkg/systray"
"dappco.re/go/gui/pkg/webview"
"dappco.re/go/gui/pkg/window"
"github.com/wailsapp/wails/v3/pkg/application"
)

View file

@ -6,7 +6,7 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/contextmenu"
"dappco.re/go/gui/pkg/contextmenu"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -5,7 +5,7 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/window"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -12,10 +12,10 @@ import (
"time"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/menu"
"forge.lthn.ai/core/gui/pkg/systray"
"forge.lthn.ai/core/gui/pkg/webview"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/menu"
"dappco.re/go/gui/pkg/systray"
"dappco.re/go/gui/pkg/webview"
"dappco.re/go/gui/pkg/window"
"github.com/gorilla/websocket"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View file

@ -10,8 +10,8 @@ import (
"time"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/events"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/events"
"dappco.re/go/gui/pkg/window"
"github.com/gorilla/websocket"
)

View file

@ -8,8 +8,8 @@ import (
"testing"
"time"
"forge.lthn.ai/core/gui/pkg/events"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/events"
"dappco.re/go/gui/pkg/window"
"github.com/gorilla/websocket"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View file

@ -9,7 +9,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/marketplace"
"dappco.re/go/gui/pkg/marketplace"
)
type marketplaceListInput struct {

View file

@ -13,7 +13,7 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/marketplace"
"dappco.re/go/gui/pkg/marketplace"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"

View file

@ -6,7 +6,7 @@ import (
"strings"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/chat"
"dappco.re/go/gui/pkg/chat"
)
type ModelRuntimeState struct {

View file

@ -5,7 +5,7 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/chat"
"dappco.re/go/gui/pkg/chat"
"github.com/stretchr/testify/assert"
)

View file

@ -9,7 +9,7 @@ import (
"strings"
"time"
"forge.lthn.ai/core/gui/pkg/p2p"
"dappco.re/go/gui/pkg/p2p"
)
type NetworkInterfaceState struct {

View file

@ -4,7 +4,7 @@ import (
"context"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/p2p"
"dappco.re/go/gui/pkg/p2p"
)
func (s *Service) attachP2PBridge() {

View file

@ -8,7 +8,7 @@ import (
"unsafe"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/p2p"
"dappco.re/go/gui/pkg/p2p"
"github.com/gorilla/websocket"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View file

@ -8,8 +8,8 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/chat"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/chat"
"dappco.re/go/gui/pkg/window"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -11,7 +11,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/chat"
"dappco.re/go/gui/pkg/chat"
"github.com/wailsapp/wails/v3/pkg/application"
)

View file

@ -7,8 +7,8 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/chat"
"forge.lthn.ai/core/gui/pkg/p2p"
"dappco.re/go/gui/pkg/chat"
"dappco.re/go/gui/pkg/p2p"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/wailsapp/wails/v3/pkg/application"

View file

@ -7,7 +7,7 @@ import (
"strings"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/deno"
"dappco.re/go/gui/pkg/deno"
)
func (s *Service) registerSidecarActions() {

View file

@ -5,7 +5,7 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/deno"
"dappco.re/go/gui/pkg/deno"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -7,14 +7,14 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/browser"
"forge.lthn.ai/core/gui/pkg/clipboard"
"forge.lthn.ai/core/gui/pkg/dialog"
"forge.lthn.ai/core/gui/pkg/events"
"forge.lthn.ai/core/gui/pkg/menu"
"forge.lthn.ai/core/gui/pkg/screen"
"forge.lthn.ai/core/gui/pkg/webview"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/browser"
"dappco.re/go/gui/pkg/clipboard"
"dappco.re/go/gui/pkg/dialog"
"dappco.re/go/gui/pkg/events"
"dappco.re/go/gui/pkg/menu"
"dappco.re/go/gui/pkg/screen"
"dappco.re/go/gui/pkg/webview"
"dappco.re/go/gui/pkg/window"
"github.com/modelcontextprotocol/go-sdk/mcp"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View file

@ -7,7 +7,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/clipboard"
"dappco.re/go/gui/pkg/clipboard"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -6,7 +6,7 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/clipboard"
"dappco.re/go/gui/pkg/clipboard"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -5,7 +5,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/container"
"dappco.re/go/gui/pkg/container"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -7,7 +7,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/contextmenu"
"dappco.re/go/gui/pkg/contextmenu"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -5,7 +5,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/deno"
"dappco.re/go/gui/pkg/deno"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -6,7 +6,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/dialog"
"dappco.re/go/gui/pkg/dialog"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -6,7 +6,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/dock"
"dappco.re/go/gui/pkg/dock"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -6,7 +6,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/environment"
"dappco.re/go/gui/pkg/environment"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -6,7 +6,7 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/environment"
"dappco.re/go/gui/pkg/environment"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -6,7 +6,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/events"
"dappco.re/go/gui/pkg/events"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -5,7 +5,7 @@ import (
"context"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/keybinding"
"dappco.re/go/gui/pkg/keybinding"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -6,7 +6,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/window"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -4,7 +4,7 @@ package mcp
import (
"context"
"forge.lthn.ai/core/gui/pkg/lifecycle"
"dappco.re/go/gui/pkg/lifecycle"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -6,7 +6,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/marketplace"
"dappco.re/go/gui/pkg/marketplace"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -6,7 +6,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/menu"
"dappco.re/go/gui/pkg/menu"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -6,7 +6,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/notification"
"dappco.re/go/gui/pkg/notification"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -5,7 +5,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/p2p"
"dappco.re/go/gui/pkg/p2p"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -6,8 +6,8 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/screen"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/screen"
"dappco.re/go/gui/pkg/window"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -6,7 +6,7 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/screen"
"dappco.re/go/gui/pkg/screen"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -7,7 +7,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/systray"
"dappco.re/go/gui/pkg/systray"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -12,8 +12,8 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/webview"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/webview"
"dappco.re/go/gui/pkg/window"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -6,7 +6,7 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/webview"
"dappco.re/go/gui/pkg/webview"
"github.com/modelcontextprotocol/go-sdk/mcp"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

View file

@ -6,7 +6,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/window"
"github.com/modelcontextprotocol/go-sdk/mcp"
)

View file

@ -9,7 +9,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/dialog"
"dappco.re/go/gui/pkg/dialog"
)
type Options struct{}

View file

@ -6,7 +6,7 @@ import (
core "dappco.re/go/core"
"testing"
"forge.lthn.ai/core/gui/pkg/dialog"
"dappco.re/go/gui/pkg/dialog"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -5,7 +5,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/notification"
"dappco.re/go/gui/pkg/notification"
)
type Options struct{}

View file

@ -5,7 +5,7 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/notification"
"dappco.re/go/gui/pkg/notification"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -11,7 +11,7 @@ import (
core "dappco.re/go/core"
gowebview "forge.lthn.ai/core/go-webview"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/window"
)
// connector abstracts go-webview for testing. The real implementation wraps

View file

@ -7,7 +7,7 @@ import (
core "dappco.re/go/core"
gowebview "forge.lthn.ai/core/go-webview"
"forge.lthn.ai/core/gui/pkg/window"
"dappco.re/go/gui/pkg/window"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -6,7 +6,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/screen"
"dappco.re/go/gui/pkg/screen"
)
type Options struct{}

View file

@ -5,7 +5,7 @@ import (
"testing"
core "dappco.re/go/core"
"forge.lthn.ai/core/gui/pkg/screen"
"dappco.re/go/gui/pkg/screen"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -7,7 +7,7 @@ import (
core "dappco.re/go/core"
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/screen"
"dappco.re/go/gui/pkg/screen"
)
type schemeResponse struct {

View file

@ -3,7 +3,7 @@ package window
import (
"testing"
"forge.lthn.ai/core/gui/pkg/screen"
"dappco.re/go/gui/pkg/screen"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

View file

@ -3,7 +3,7 @@ package window
import (
coreerr "dappco.re/go/core/log"
"forge.lthn.ai/core/gui/pkg/screen"
"dappco.re/go/gui/pkg/screen"
)
// TileMode defines how windows are arranged.

View file

@ -5,7 +5,7 @@ import (
"reflect"
"strings"
"forge.lthn.ai/core/gui/pkg/preload"
"dappco.re/go/gui/pkg/preload"
"github.com/wailsapp/wails/v3/pkg/application"
"github.com/wailsapp/wails/v3/pkg/events"
)