fix: update import paths to new repository location
This commit is contained in:
parent
81b8dcf794
commit
6c5f4b3d8f
25 changed files with 59 additions and 59 deletions
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"io/fs"
|
"io/fs"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
core "github.com/host-uk/core-gui"
|
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"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,10 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/display"
|
"forge.lthn.ai/core/gui/pkg/display"
|
||||||
"github.com/host-uk/core-gui/pkg/mcp"
|
"forge.lthn.ai/core/gui/pkg/mcp"
|
||||||
"github.com/host-uk/core-gui/pkg/webview"
|
"forge.lthn.ai/core/gui/pkg/webview"
|
||||||
"github.com/host-uk/core-gui/pkg/ws"
|
"forge.lthn.ai/core/gui/pkg/ws"
|
||||||
"github.com/wailsapp/wails/v3/pkg/application"
|
"github.com/wailsapp/wails/v3/pkg/application"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
6
core.go
6
core.go
|
|
@ -4,9 +4,9 @@ package core
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/plugin"
|
"forge.lthn.ai/core/gui/pkg/plugin"
|
||||||
"github.com/host-uk/core-gui/pkg/plugin/builtin/system"
|
"forge.lthn.ai/core/gui/pkg/plugin/builtin/system"
|
||||||
"github.com/host-uk/core-gui/pkg/runtime"
|
"forge.lthn.ai/core/gui/pkg/runtime"
|
||||||
"github.com/wailsapp/wails/v3/pkg/application"
|
"github.com/wailsapp/wails/v3/pkg/application"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
2
go.mod
2
go.mod
|
|
@ -1,4 +1,4 @@
|
||||||
module github.com/host-uk/core-gui
|
module forge.lthn.ai/core/gui
|
||||||
|
|
||||||
go 1.25.5
|
go 1.25.5
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
"github.com/adrg/xdg"
|
"github.com/adrg/xdg"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
// setupTestEnv creates a temporary home directory for testing and ensures a clean environment.
|
// setupTestEnv creates a temporary home directory for testing and ensures a clean environment.
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
"github.com/Snider/Enchantrix/pkg/crypt"
|
"github.com/Snider/Enchantrix/pkg/crypt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/host-uk/core-gui/pkg/display/cmd/demo-cli/cmd"
|
"forge.lthn.ai/core/gui/pkg/display/cmd/demo-cli/cmd"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
"github.com/wailsapp/wails/v3/pkg/application"
|
"github.com/wailsapp/wails/v3/pkg/application"
|
||||||
"github.com/wailsapp/wails/v3/pkg/events"
|
"github.com/wailsapp/wails/v3/pkg/events"
|
||||||
"github.com/wailsapp/wails/v3/pkg/services/notifications"
|
"github.com/wailsapp/wails/v3/pkg/services/notifications"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package display
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/wailsapp/wails/v3/pkg/application"
|
"github.com/wailsapp/wails/v3/pkg/application"
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
package docs
|
package docs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
"github.com/host-uk/core-gui/pkg/display"
|
"forge.lthn.ai/core/gui/pkg/display"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Service manages documentation windows.
|
// Service manages documentation windows.
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/help" // Assuming this is the import path for the help module
|
"forge.lthn.ai/core/gui/pkg/help" // Assuming this is the import path for the help module
|
||||||
)
|
)
|
||||||
|
|
||||||
// MockLogger is a mock implementation of the help.Logger interface.
|
// MockLogger is a mock implementation of the help.Logger interface.
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/help" // Assuming this is the import path for the help module
|
"forge.lthn.ai/core/gui/pkg/help" // Assuming this is the import path for the help module
|
||||||
)
|
)
|
||||||
|
|
||||||
// MockLogger is a mock implementation of the help.Logger interface.
|
// MockLogger is a mock implementation of the help.Logger interface.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/host-uk/core-gui/pkg/i18n/cmd/i18n/cmd"
|
"forge.lthn.ai/core/gui/pkg/i18n/cmd/i18n/cmd"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Options holds configuration for the IDE service.
|
// Options holds configuration for the IDE service.
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package io
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/io/local"
|
"forge.lthn.ai/core/gui/pkg/io/local"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Medium defines the standard interface for a storage backend.
|
// Medium defines the standard interface for a storage backend.
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,12 @@ import (
|
||||||
|
|
||||||
"github.com/modelcontextprotocol/go-sdk/mcp"
|
"github.com/modelcontextprotocol/go-sdk/mcp"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
"github.com/host-uk/core-gui/pkg/display"
|
"forge.lthn.ai/core/gui/pkg/display"
|
||||||
"github.com/host-uk/core-gui/pkg/ide"
|
"forge.lthn.ai/core/gui/pkg/ide"
|
||||||
"github.com/host-uk/core-gui/pkg/process"
|
"forge.lthn.ai/core/gui/pkg/process"
|
||||||
"github.com/host-uk/core-gui/pkg/webview"
|
"forge.lthn.ai/core/gui/pkg/webview"
|
||||||
"github.com/host-uk/core-gui/pkg/ws"
|
"forge.lthn.ai/core/gui/pkg/ws"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Service provides an MCP server that exposes Core functionality.
|
// Service provides an MCP server that exposes Core functionality.
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package module
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
"github.com/wailsapp/wails/v3/pkg/application"
|
"github.com/wailsapp/wails/v3/pkg/application"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/plugin"
|
"forge.lthn.ai/core/gui/pkg/plugin"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Plugin is the built-in system information plugin.
|
// Plugin is the built-in system information plugin.
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/plugin"
|
"forge.lthn.ai/core/gui/pkg/plugin"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
||||||
|
|
@ -4,18 +4,18 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
// Import the CONCRETE implementations from the internal packages.
|
// Import the CONCRETE implementations from the internal packages.
|
||||||
"github.com/host-uk/core-gui/pkg/config"
|
"forge.lthn.ai/core/gui/pkg/config"
|
||||||
"github.com/host-uk/core-gui/pkg/crypt"
|
"forge.lthn.ai/core/gui/pkg/crypt"
|
||||||
"github.com/host-uk/core-gui/pkg/display"
|
"forge.lthn.ai/core/gui/pkg/display"
|
||||||
"github.com/host-uk/core-gui/pkg/docs"
|
"forge.lthn.ai/core/gui/pkg/docs"
|
||||||
"github.com/host-uk/core-gui/pkg/help"
|
"forge.lthn.ai/core/gui/pkg/help"
|
||||||
"github.com/host-uk/core-gui/pkg/i18n"
|
"forge.lthn.ai/core/gui/pkg/i18n"
|
||||||
"github.com/host-uk/core-gui/pkg/ide"
|
"forge.lthn.ai/core/gui/pkg/ide"
|
||||||
"github.com/host-uk/core-gui/pkg/io"
|
"forge.lthn.ai/core/gui/pkg/io"
|
||||||
"github.com/host-uk/core-gui/pkg/module"
|
"forge.lthn.ai/core/gui/pkg/module"
|
||||||
"github.com/host-uk/core-gui/pkg/workspace"
|
"forge.lthn.ai/core/gui/pkg/workspace"
|
||||||
// Import the ABSTRACT contracts (interfaces).
|
// Import the ABSTRACT contracts (interfaces).
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
// App is the runtime container that holds all instantiated services.
|
// App is the runtime container that holds all instantiated services.
|
||||||
|
|
|
||||||
|
|
@ -6,15 +6,15 @@ import (
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/config"
|
"forge.lthn.ai/core/gui/pkg/config"
|
||||||
"github.com/host-uk/core-gui/pkg/crypt"
|
"forge.lthn.ai/core/gui/pkg/crypt"
|
||||||
"github.com/host-uk/core-gui/pkg/display"
|
"forge.lthn.ai/core/gui/pkg/display"
|
||||||
"github.com/host-uk/core-gui/pkg/docs"
|
"forge.lthn.ai/core/gui/pkg/docs"
|
||||||
"github.com/host-uk/core-gui/pkg/help"
|
"forge.lthn.ai/core/gui/pkg/help"
|
||||||
"github.com/host-uk/core-gui/pkg/ide"
|
"forge.lthn.ai/core/gui/pkg/ide"
|
||||||
"github.com/host-uk/core-gui/pkg/io"
|
"forge.lthn.ai/core/gui/pkg/io"
|
||||||
"github.com/host-uk/core-gui/pkg/module"
|
"forge.lthn.ai/core/gui/pkg/module"
|
||||||
"github.com/host-uk/core-gui/pkg/workspace"
|
"forge.lthn.ai/core/gui/pkg/workspace"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestNew ensures that New correctly initializes a Runtime instance.
|
// TestNew ensures that New correctly initializes a Runtime instance.
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
"github.com/host-uk/core-gui/pkg/crypt/lthn"
|
"forge.lthn.ai/core/gui/pkg/crypt/lthn"
|
||||||
"github.com/host-uk/core-gui/pkg/crypt/openpgp"
|
"forge.lthn.ai/core/gui/pkg/crypt/openpgp"
|
||||||
"github.com/host-uk/core-gui/pkg/io"
|
"forge.lthn.ai/core/gui/pkg/io"
|
||||||
"github.com/host-uk/core-gui/pkg/io/local"
|
"forge.lthn.ai/core/gui/pkg/io/local"
|
||||||
"github.com/wailsapp/wails/v3/pkg/application"
|
"github.com/wailsapp/wails/v3/pkg/application"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/host-uk/core-gui/pkg/core"
|
"forge.lthn.ai/core/gui/pkg/core"
|
||||||
"github.com/host-uk/core-gui/pkg/io"
|
"forge.lthn.ai/core/gui/pkg/io"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/wailsapp/wails/v3/pkg/application"
|
"github.com/wailsapp/wails/v3/pkg/application"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue