diff --git a/README.md b/README.md index 7300015..fd01af5 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Official Go SDK for the [Elydora](https://elydora.com) tamper-evident audit plat ## Installation ```bash -go get github.com/Elydora-Infrastructure/Elydora-Go-SDK +go get github.com/Elydora-Infrastructure/Elydora-Go-SDK/v2 ``` Requires Go 1.21+. The CLI uses focused TOML and JSONC parsers to preserve user-owned agent configuration. @@ -19,7 +19,7 @@ import ( "fmt" "log" - elydora "github.com/Elydora-Infrastructure/Elydora-Go-SDK" + elydora "github.com/Elydora-Infrastructure/Elydora-Go-SDK/v2" ) func main() { @@ -66,7 +66,7 @@ The SDK includes a CLI for installing audit hooks into AI coding agents. Agent IDs map to one physical directory directly under `~/.elydora`; portable filename rules and physical directory/config checks apply before writes or recursive removal. Ambiguous uninstall discovery requires an explicit agent ID. ```bash -go install github.com/Elydora-Infrastructure/Elydora-Go-SDK/cmd/elydora@latest +go install github.com/Elydora-Infrastructure/Elydora-Go-SDK/v2/cmd/elydora@latest elydora install \ --agent claudecode \ diff --git a/cmd/elydora/main.go b/cmd/elydora/main.go index 83469f2..e2b8e1b 100644 --- a/cmd/elydora/main.go +++ b/cmd/elydora/main.go @@ -8,10 +8,10 @@ import ( "sort" "strings" - "github.com/Elydora-Infrastructure/Elydora-Go-SDK/cmd/elydora/plugins" + "github.com/Elydora-Infrastructure/Elydora-Go-SDK/v2/cmd/elydora/plugins" ) -const version = "1.2.1" +const version = "2.0.0" func main() { if len(os.Args) < 2 { diff --git a/cmd/elydora/runtime_discovery.go b/cmd/elydora/runtime_discovery.go index f37b68b..c63694e 100644 --- a/cmd/elydora/runtime_discovery.go +++ b/cmd/elydora/runtime_discovery.go @@ -6,7 +6,7 @@ import ( "os" "path/filepath" - "github.com/Elydora-Infrastructure/Elydora-Go-SDK/cmd/elydora/plugins" + "github.com/Elydora-Infrastructure/Elydora-Go-SDK/v2/cmd/elydora/plugins" ) type installedAgentRuntime struct { diff --git a/go.mod b/go.mod index d92c18b..52cd0b3 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Elydora-Infrastructure/Elydora-Go-SDK +module github.com/Elydora-Infrastructure/Elydora-Go-SDK/v2 go 1.21.0 diff --git a/sdk_compat_integration_test.go b/sdk_compat_integration_test.go index fc47c54..5d9bb9c 100644 --- a/sdk_compat_integration_test.go +++ b/sdk_compat_integration_test.go @@ -9,7 +9,7 @@ import ( "os" "testing" - elydora "github.com/Elydora-Infrastructure/Elydora-Go-SDK" + elydora "github.com/Elydora-Infrastructure/Elydora-Go-SDK/v2" ) func randomHex(n int) string {