chore(go): release 2.0.0 under the /v2 module path
Claude-Session: https://claude.ai/code/session_01QoUjdc7HGKTsgj5GhG8HvF
This commit is contained in:
1 parent
eb41b991bf
commit
a08d3c386c
5 files changed
+8
-8
No files matched your search
@@ -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 \
|
||||
|
||||
+2
-2
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user