fix: update import paths to new repository location

This commit is contained in:
Snider 2026-02-16 06:44:02 +00:00
parent 6c5f4b3d8f
commit 8fc50dc2df
19 changed files with 81 additions and 81 deletions

View file

@ -27,10 +27,10 @@ replace (
github.com/host-uk/core/pkg/module => ../../pkg/module github.com/host-uk/core/pkg/module => ../../pkg/module
github.com/host-uk/core/pkg/plugin => ../../pkg/plugin github.com/host-uk/core/pkg/plugin => ../../pkg/plugin
github.com/host-uk/core/pkg/process => ../../pkg/process github.com/host-uk/core/pkg/process => ../../pkg/process
github.com/host-uk/core/pkg/runtime => ../../pkg/runtime forge.lthn.ai/core/gui/pkg/runtime => ../../pkg/runtime
github.com/host-uk/core/pkg/webview => ../../pkg/webview forge.lthn.ai/core/gui/pkg/webview => ../../pkg/webview
github.com/host-uk/core/pkg/workspace => ../../pkg/workspace forge.lthn.ai/core/gui/pkg/workspace => ../../pkg/workspace
github.com/host-uk/core/pkg/ws => ../../pkg/ws forge.lthn.ai/core/gui/pkg/ws => ../../pkg/ws
) )
require ( require (
@ -38,8 +38,8 @@ require (
git.sr.ht/~jackmordaunt/go-toast/v2 v2.0.3 // indirect git.sr.ht/~jackmordaunt/go-toast/v2 v2.0.3 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/ProtonMail/go-crypto v1.3.0 // indirect github.com/ProtonMail/go-crypto v1.3.0 // indirect
github.com/host-uk/core/pkg/config v0.0.0-00010101000000-000000000000 // indirect forge.lthn.ai/core/gui/pkg/config v0.0.0-00010101000000-000000000000 // indirect
github.com/host-uk/core/pkg/core v0.0.0 // indirect forge.lthn.ai/core/gui/pkg/core v0.0.0 // indirect
github.com/host-uk/core/pkg/docs v0.0.0-00010101000000-000000000000 // indirect github.com/host-uk/core/pkg/docs v0.0.0-00010101000000-000000000000 // indirect
github.com/host-uk/core/pkg/help v0.0.0-00010101000000-000000000000 // indirect github.com/host-uk/core/pkg/help v0.0.0-00010101000000-000000000000 // indirect
github.com/host-uk/core/pkg/i18n v0.0.0-00010101000000-000000000000 // indirect github.com/host-uk/core/pkg/i18n v0.0.0-00010101000000-000000000000 // indirect

View file

@ -5,7 +5,7 @@ import (
"io/fs" "io/fs"
"log" "log"
core "github.com/host-uk/core" core "forge.lthn.ai/core/gui"
"github.com/wailsapp/wails/v3/pkg/application" "github.com/wailsapp/wails/v3/pkg/application"
"github.com/wailsapp/wails/v3/pkg/services/notifications" "github.com/wailsapp/wails/v3/pkg/services/notifications"
) )

View file

@ -9,10 +9,10 @@ import (
"net/http" "net/http"
"sync" "sync"
"github.com/host-uk/core/pkg/display" "forge.lthn.ai/core/gui/pkg/display"
"github.com/host-uk/core/pkg/mcp" "forge.lthn.ai/core/gui/pkg/mcp"
"github.com/host-uk/core/pkg/webview" "forge.lthn.ai/core/gui/pkg/webview"
"github.com/host-uk/core/pkg/ws" "forge.lthn.ai/core/gui/pkg/ws"
"github.com/wailsapp/wails/v3/pkg/application" "github.com/wailsapp/wails/v3/pkg/application"
) )

View file

@ -3,34 +3,34 @@ module core-gui
go 1.25.5 go 1.25.5
require ( require (
github.com/host-uk/core v0.0.0-00010101000000-000000000000 forge.lthn.ai/core/gui v0.0.0-00010101000000-000000000000
github.com/host-uk/core/pkg/display v0.0.0 forge.lthn.ai/core/gui/pkg/display v0.0.0
github.com/host-uk/core/pkg/mcp v0.0.0-00010101000000-000000000000 forge.lthn.ai/core/gui/pkg/mcp v0.0.0-00010101000000-000000000000
github.com/host-uk/core/pkg/webview v0.0.0-00010101000000-000000000000 forge.lthn.ai/core/gui/pkg/webview v0.0.0-00010101000000-000000000000
github.com/host-uk/core/pkg/ws v0.0.0-00010101000000-000000000000 forge.lthn.ai/core/gui/pkg/ws v0.0.0-00010101000000-000000000000
github.com/gorilla/websocket v1.5.3 github.com/gorilla/websocket v1.5.3
github.com/wailsapp/wails/v3 v3.0.0-alpha.41 github.com/wailsapp/wails/v3 v3.0.0-alpha.41
) )
replace ( replace (
github.com/host-uk/core => ../../ forge.lthn.ai/core/gui => ../../
github.com/host-uk/core/pkg/config => ../../pkg/config forge.lthn.ai/core/gui/pkg/config => ../../pkg/config
github.com/host-uk/core/pkg/core => ../../pkg/core forge.lthn.ai/core/gui/pkg/core => ../../pkg/core
github.com/host-uk/core/pkg/crypt => ../../pkg/crypt forge.lthn.ai/core/gui/pkg/crypt => ../../pkg/crypt
github.com/host-uk/core/pkg/display => ../../pkg/display forge.lthn.ai/core/gui/pkg/display => ../../pkg/display
github.com/host-uk/core/pkg/docs => ../../pkg/docs forge.lthn.ai/core/gui/pkg/docs => ../../pkg/docs
github.com/host-uk/core/pkg/help => ../../pkg/help forge.lthn.ai/core/gui/pkg/help => ../../pkg/help
github.com/host-uk/core/pkg/i18n => ../../pkg/i18n forge.lthn.ai/core/gui/pkg/i18n => ../../pkg/i18n
github.com/host-uk/core/pkg/ide => ../../pkg/ide forge.lthn.ai/core/gui/pkg/ide => ../../pkg/ide
github.com/host-uk/core/pkg/io => ../../pkg/io forge.lthn.ai/core/gui/pkg/io => ../../pkg/io
github.com/host-uk/core/pkg/mcp => ../../pkg/mcp forge.lthn.ai/core/gui/pkg/mcp => ../../pkg/mcp
github.com/host-uk/core/pkg/module => ../../pkg/module forge.lthn.ai/core/gui/pkg/module => ../../pkg/module
github.com/host-uk/core/pkg/plugin => ../../pkg/plugin forge.lthn.ai/core/gui/pkg/plugin => ../../pkg/plugin
github.com/host-uk/core/pkg/process => ../../pkg/process forge.lthn.ai/core/gui/pkg/process => ../../pkg/process
github.com/host-uk/core/pkg/runtime => ../../pkg/runtime forge.lthn.ai/core/gui/pkg/runtime => ../../pkg/runtime
github.com/host-uk/core/pkg/webview => ../../pkg/webview forge.lthn.ai/core/gui/pkg/webview => ../../pkg/webview
github.com/host-uk/core/pkg/workspace => ../../pkg/workspace forge.lthn.ai/core/gui/pkg/workspace => ../../pkg/workspace
github.com/host-uk/core/pkg/ws => ../../pkg/ws forge.lthn.ai/core/gui/pkg/ws => ../../pkg/ws
) )
require ( require (
@ -38,10 +38,10 @@ require (
git.sr.ht/~jackmordaunt/go-toast/v2 v2.0.3 // indirect git.sr.ht/~jackmordaunt/go-toast/v2 v2.0.3 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/ProtonMail/go-crypto v1.3.0 // indirect github.com/ProtonMail/go-crypto v1.3.0 // indirect
github.com/host-uk/core/pkg/config v0.0.0-00010101000000-000000000000 // indirect forge.lthn.ai/core/gui/pkg/config v0.0.0-00010101000000-000000000000 // indirect
github.com/host-uk/core/pkg/core v0.0.0 // indirect forge.lthn.ai/core/gui/pkg/core v0.0.0 // indirect
github.com/host-uk/core/pkg/docs v0.0.0-00010101000000-000000000000 // indirect forge.lthn.ai/core/gui/pkg/docs v0.0.0-00010101000000-000000000000 // indirect
github.com/host-uk/core/pkg/help v0.0.0-00010101000000-000000000000 // indirect forge.lthn.ai/core/gui/pkg/help v0.0.0-00010101000000-000000000000 // indirect
github.com/host-uk/core/pkg/i18n v0.0.0-00010101000000-000000000000 // indirect github.com/host-uk/core/pkg/i18n v0.0.0-00010101000000-000000000000 // indirect
github.com/host-uk/core/pkg/ide v0.0.0-00010101000000-000000000000 // indirect github.com/host-uk/core/pkg/ide v0.0.0-00010101000000-000000000000 // indirect
github.com/host-uk/core/pkg/module v0.0.0-00010101000000-000000000000 // indirect github.com/host-uk/core/pkg/module v0.0.0-00010101000000-000000000000 // indirect

View file

@ -1,3 +1,3 @@
module github.com/host-uk/core/cmd/core-mcp module forge.lthn.ai/core/gui/cmd/core-mcp
go 1.25.5 go 1.25.5

View file

@ -21,7 +21,7 @@ import (
"os/signal" "os/signal"
"syscall" "syscall"
"github.com/host-uk/core/pkg/mcp" "forge.lthn.ai/core/gui/pkg/mcp"
) )
func main() { func main() {

View file

@ -4,7 +4,7 @@ import (
"embed" "embed"
"log" "log"
"github.com/host-uk/core "https://forge.lthn.ai/core/gui
"github.com/wailsapp/wails/v3/pkg/application" "github.com/wailsapp/wails/v3/pkg/application"
) )

View file

@ -3,11 +3,11 @@ module core-task-change
go 1.25 go 1.25
require ( require (
github.com/host-uk/core v0.0.0-20251024151010-ccfd407949f1 forge.lthn.ai/core/gui v0.0.0-20251024151010-ccfd407949f1
github.com/wailsapp/wails/v3 v3.0.0-alpha.36 github.com/wailsapp/wails/v3 v3.0.0-alpha.36
) )
replace github.com/host-uk/core => ../../ replace forge.lthn.ai/core/gui => ../../
require ( require (
dario.cat/mergo v1.0.1 // indirect dario.cat/mergo v1.0.1 // indirect

View file

@ -4,7 +4,7 @@ import (
"embed" "embed"
"log" "log"
"github.com/host-uk/core/runtime" "forge.lthn.ai/core/gui/runtime"
"github.com/wailsapp/wails/v3/pkg/application" "github.com/wailsapp/wails/v3/pkg/application"
) )

View file

@ -1,6 +1,6 @@
package demo package demo
import "github.com/host-uk/core" import "forge.lthn.ai/core/gui"
// this instance is the singleton instance of the demo module. // this instance is the singleton instance of the demo module.
var instance *API var instance *API

View file

@ -3,12 +3,12 @@ module lthn-desktop
go 1.25.5 go 1.25.5
require ( require (
github.com/host-uk/core v0.0.0-00010101000000-000000000000 forge.lthn.ai/core/gui v0.0.0-00010101000000-000000000000
github.com/host-uk/core/pkg/display v0.0.0 forge.lthn.ai/core/gui/pkg/display v0.0.0
github.com/host-uk/core/pkg/mcp v0.0.0-00010101000000-000000000000 forge.lthn.ai/core/gui/pkg/mcp v0.0.0-00010101000000-000000000000
github.com/host-uk/core/pkg/module v0.0.0-00010101000000-000000000000 forge.lthn.ai/core/gui/pkg/module v0.0.0-00010101000000-000000000000
github.com/host-uk/core/pkg/webview v0.0.0-00010101000000-000000000000 forge.lthn.ai/core/gui/pkg/webview v0.0.0-00010101000000-000000000000
github.com/host-uk/core/pkg/ws v0.0.0-00010101000000-000000000000 forge.lthn.ai/core/gui/pkg/ws v0.0.0-00010101000000-000000000000
github.com/Snider/Mining v0.0.9 github.com/Snider/Mining v0.0.9
github.com/gin-gonic/gin v1.11.0 github.com/gin-gonic/gin v1.11.0
github.com/gorilla/websocket v1.5.3 github.com/gorilla/websocket v1.5.3
@ -16,24 +16,24 @@ require (
) )
replace ( replace (
github.com/host-uk/core => ../../ forge.lthn.ai/core/gui => ../../
github.com/host-uk/core/pkg/config => ../../pkg/config forge.lthn.ai/core/gui/pkg/config => ../../pkg/config
github.com/host-uk/core/pkg/core => ../../pkg/core forge.lthn.ai/core/gui/pkg/core => ../../pkg/core
github.com/host-uk/core/pkg/crypt => ../../pkg/crypt forge.lthn.ai/core/gui/pkg/crypt => ../../pkg/crypt
github.com/host-uk/core/pkg/display => ../../pkg/display forge.lthn.ai/core/gui/pkg/display => ../../pkg/display
github.com/host-uk/core/pkg/docs => ../../pkg/docs forge.lthn.ai/core/gui/pkg/docs => ../../pkg/docs
github.com/host-uk/core/pkg/help => ../../pkg/help forge.lthn.ai/core/gui/pkg/help => ../../pkg/help
github.com/host-uk/core/pkg/i18n => ../../pkg/i18n forge.lthn.ai/core/gui/pkg/i18n => ../../pkg/i18n
github.com/host-uk/core/pkg/ide => ../../pkg/ide forge.lthn.ai/core/gui/pkg/ide => ../../pkg/ide
github.com/host-uk/core/pkg/io => ../../pkg/io forge.lthn.ai/core/gui/pkg/io => ../../pkg/io
github.com/host-uk/core/pkg/mcp => ../../pkg/mcp forge.lthn.ai/core/gui/pkg/mcp => ../../pkg/mcp
github.com/host-uk/core/pkg/module => ../../pkg/module forge.lthn.ai/core/gui/pkg/module => ../../pkg/module
github.com/host-uk/core/pkg/plugin => ../../pkg/plugin forge.lthn.ai/core/gui/pkg/plugin => ../../pkg/plugin
github.com/host-uk/core/pkg/process => ../../pkg/process forge.lthn.ai/core/gui/pkg/process => ../../pkg/process
github.com/host-uk/core/pkg/runtime => ../../pkg/runtime forge.lthn.ai/core/gui/pkg/runtime => ../../pkg/runtime
github.com/host-uk/core/pkg/webview => ../../pkg/webview forge.lthn.ai/core/gui/pkg/webview => ../../pkg/webview
github.com/host-uk/core/pkg/workspace => ../../pkg/workspace forge.lthn.ai/core/gui/pkg/workspace => ../../pkg/workspace
github.com/host-uk/core/pkg/ws => ../../pkg/ws forge.lthn.ai/core/gui/pkg/ws => ../../pkg/ws
) )
require ( require (
@ -43,7 +43,7 @@ require (
github.com/Masterminds/semver/v3 v3.3.1 // indirect github.com/Masterminds/semver/v3 v3.3.1 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/ProtonMail/go-crypto v1.3.0 // indirect github.com/ProtonMail/go-crypto v1.3.0 // indirect
github.com/host-uk/core/pkg/config v0.0.0-00010101000000-000000000000 // indirect forge.lthn.ai/core/gui/pkg/config v0.0.0-00010101000000-000000000000 // indirect
github.com/host-uk/core/pkg/core v0.0.0 // indirect github.com/host-uk/core/pkg/core v0.0.0 // indirect
github.com/host-uk/core/pkg/docs v0.0.0-00010101000000-000000000000 // indirect github.com/host-uk/core/pkg/docs v0.0.0-00010101000000-000000000000 // indirect
github.com/host-uk/core/pkg/help v0.0.0-00010101000000-000000000000 // indirect github.com/host-uk/core/pkg/help v0.0.0-00010101000000-000000000000 // indirect

View file

@ -5,7 +5,7 @@ import (
"io/fs" "io/fs"
"log" "log"
core "github.com/host-uk/core" core "forge.lthn.ai/core/gui"
"github.com/wailsapp/wails/v3/pkg/application" "github.com/wailsapp/wails/v3/pkg/application"
"github.com/wailsapp/wails/v3/pkg/services/notifications" "github.com/wailsapp/wails/v3/pkg/services/notifications"
) )

View file

@ -9,10 +9,10 @@ import (
"net/http" "net/http"
"sync" "sync"
"github.com/host-uk/core/pkg/display" "forge.lthn.ai/core/gui/pkg/display"
"github.com/host-uk/core/pkg/mcp" "forge.lthn.ai/core/gui/pkg/mcp"
"github.com/host-uk/core/pkg/webview" "forge.lthn.ai/core/gui/pkg/webview"
"github.com/host-uk/core/pkg/ws" "forge.lthn.ai/core/gui/pkg/ws"
"github.com/wailsapp/wails/v3/pkg/application" "github.com/wailsapp/wails/v3/pkg/application"
) )

View file

@ -3,7 +3,7 @@ package main
import ( import (
"context" "context"
"github.com/host-uk/core/pkg/module" "forge.lthn.ai/core/gui/pkg/module"
"github.com/Snider/Mining/pkg/mining" "github.com/Snider/Mining/pkg/mining"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/wailsapp/wails/v3/pkg/application" "github.com/wailsapp/wails/v3/pkg/application"

View file

@ -62,7 +62,7 @@ func Register(c *core.Core) (any, error) {
// ServiceName returns the canonical name for this service. // ServiceName returns the canonical name for this service.
func (s *Service) ServiceName() string { func (s *Service) ServiceName() string {
return "github.com/host-uk/core/display" return "forge.lthn.ai/core/gui/display"
} }
// ServiceStartup is called by Wails when the app starts. It initializes the display service // ServiceStartup is called by Wails when the app starts. It initializes the display service

View file

@ -56,7 +56,7 @@ func TestServiceName(t *testing.T) {
require.NoError(t, err) require.NoError(t, err)
name := service.ServiceName() name := service.ServiceName()
assert.Equal(t, "github.com/host-uk/core/display", name) assert.Equal(t, "forge.lthn.ai/core/gui/display", name)
} }
// --- Window Option Tests --- // --- Window Option Tests ---

View file

@ -50,7 +50,7 @@ func Register(c *core.Core) (any, error) {
// ServiceName returns the canonical name for this service. // ServiceName returns the canonical name for this service.
func (s *Service) ServiceName() string { func (s *Service) ServiceName() string {
return "github.com/host-uk/core/ide" return "forge.lthn.ai/core/gui/ide"
} }
// NewFile creates a new untitled file with the specified language. // NewFile creates a new untitled file with the specified language.

View file

@ -52,7 +52,7 @@ func New(c *core.Core) *Service {
// Try to get the IDE service if available // Try to get the IDE service if available
if c != nil { if c != nil {
ideSvc, _ := core.ServiceFor[*ide.Service](c, "github.com/host-uk/core/ide") ideSvc, _ := core.ServiceFor[*ide.Service](c, "forge.lthn.ai/core/gui/ide")
s.ide = ideSvc s.ide = ideSvc
} }

View file

@ -33,7 +33,7 @@ func NewService(opts Options) (*Service, error) {
// ServiceName returns the canonical name. // ServiceName returns the canonical name.
func (s *Service) ServiceName() string { func (s *Service) ServiceName() string {
return "github.com/host-uk/core/module" return "forge.lthn.ai/core/gui/module"
} }
// ServiceStartup is called by Wails on app start. // ServiceStartup is called by Wails on app start.