refactor: update import path from go-config to core/config

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-03-14 10:22:39 +00:00
parent 9071f28eb9
commit 6442cb85ad
6 changed files with 5 additions and 6 deletions

View file

@ -12,7 +12,7 @@ import (
"forge.lthn.ai/core/cli/pkg/cli"
agentic "forge.lthn.ai/core/agent/pkg/lifecycle"
"forge.lthn.ai/core/go-scm/agentci"
"forge.lthn.ai/core/go-config"
"forge.lthn.ai/core/config"
)
func init() {

View file

@ -127,7 +127,7 @@ The `codex/` directory mirrors the Claude plugin structure for OpenAI Codex, plu
| `forge.lthn.ai/core/go` | DI container and service lifecycle |
| `forge.lthn.ai/core/cli` | CLI framework (cobra + bubbletea TUI) |
| `forge.lthn.ai/core/go-ai` | AI meta-hub (MCP facade) |
| `forge.lthn.ai/core/go-config` | Configuration management (viper) |
| `forge.lthn.ai/core/config` | Configuration management (viper) |
| `forge.lthn.ai/core/go-inference` | TextModel/Backend interfaces |
| `forge.lthn.ai/core/go-io` | Filesystem abstraction |
| `forge.lthn.ai/core/go-log` | Structured logging |

2
go.mod
View file

@ -6,7 +6,7 @@ require (
codeberg.org/mvdkleijn/forgejo-sdk/forgejo/v2 v2.2.0
forge.lthn.ai/core/cli v0.1.0
forge.lthn.ai/core/go-ai v0.1.0
forge.lthn.ai/core/go-config v0.1.0
forge.lthn.ai/core/config v0.1.0
forge.lthn.ai/core/go-i18n v0.1.0
forge.lthn.ai/core/go-inference v0.1.0
forge.lthn.ai/core/go-io v0.0.3

1
go.sum
View file

@ -3,7 +3,6 @@ forge.lthn.ai/core/cli v0.1.0 h1:2XRiEMVzUElnQlZnHYDyfKIKQVPcCzGuYHlnz55GjsM=
forge.lthn.ai/core/go v0.1.0 h1:Ow/1NTajrrNPO0zgkskEyEGdx4SKpiNqTaqM0txNOYI=
forge.lthn.ai/core/go-ai v0.1.0 h1:Z7Gbxsq4d8vnO35zZxJXvk8wEUGSazpxncN1voJkNT0=
forge.lthn.ai/core/go-api v0.0.3 h1:7j6rUPL4m/UtX6mowZ9lqndSTIxIXtJw5xlcnNGsakI=
forge.lthn.ai/core/go-config v0.1.0 h1:bQnlt8MvFvgPisl//jw4IMHMoCcaIt5FLurwYWqlMx0=
forge.lthn.ai/core/go-crypt v0.1.0 h1:92gwdQi7iAwktpvZhL/8Cu+QS6xKCtGP4FJfyInPGnw=
forge.lthn.ai/core/go-i18n v0.1.0 h1:F7JVSoVkZtzx9JfhpntM9z3iQm1vnuMUi/Zklhz8PCI=
forge.lthn.ai/core/go-inference v0.1.0 h1:pO7etYgqV8LMKFdpW8/2RWncuECZJCIcf8nnezeZ5R4=

View file

@ -6,7 +6,7 @@ import (
"fmt"
"maps"
"forge.lthn.ai/core/go-config"
"forge.lthn.ai/core/config"
)
// AgentConfig represents a single agent machine in the config file.

View file

@ -3,7 +3,7 @@ package orchestrator
import (
"testing"
"forge.lthn.ai/core/go-config"
"forge.lthn.ai/core/config"
"forge.lthn.ai/core/go-io"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"