chore(go): release 2.0.0 under the /v2 module path

Claude-Session: https://claude.ai/code/session_01QoUjdc7HGKTsgj5GhG8HvF
This commit is contained in:
雷电芽衣 committed 2026-09-02 00:50:27 -04:00
1 parent eb41b991bf
commit a08d3c386c
5 files changed
+8 -8

No files matched your search

+3 -3
View File
@@ -5,7 +5,7 @@ Official Go SDK for the [Elydora](https://elydora.com) tamper-evident audit plat
## Installation ## Installation
```bash ```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. Requires Go 1.21+. The CLI uses focused TOML and JSONC parsers to preserve user-owned agent configuration.
@@ -19,7 +19,7 @@ import (
"fmt" "fmt"
"log" "log"
elydora "github.com/Elydora-Infrastructure/Elydora-Go-SDK" elydora "github.com/Elydora-Infrastructure/Elydora-Go-SDK/v2"
) )
func main() { 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. 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 ```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 \ elydora install \
--agent claudecode \ --agent claudecode \
+2 -2
View File
@@ -8,10 +8,10 @@ import (
"sort" "sort"
"strings" "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() { func main() {
if len(os.Args) < 2 { if len(os.Args) < 2 {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"os" "os"
"path/filepath" "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 { type installedAgentRuntime struct {
+1 -1
View File
@@ -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 go 1.21.0
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"os" "os"
"testing" "testing"
elydora "github.com/Elydora-Infrastructure/Elydora-Go-SDK" elydora "github.com/Elydora-Infrastructure/Elydora-Go-SDK/v2"
) )
func randomHex(n int) string { func randomHex(n int) string {