Skip to content

Commit d42465c

Browse files
Zie619claude
andcommitted
fix: update SDK repository URLs to point to ai-bom monorepo
All SDKs live in the ai-bom repo, not separate repositories. - Go module: github.com/Trusera/ai-bom/trusera-sdk-go - TypeScript: points to github.com/Trusera/ai-bom - Python: points to github.com/Trusera/ai-bom Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cfdd482 commit d42465c

File tree

11 files changed

+28
-28
lines changed

11 files changed

+28
-28
lines changed

docs/interceptor-sdks.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ single design philosophy: **intercept, evaluate, report**.
66

77
| | Python | TypeScript | Go |
88
|---|--------|------------|-----|
9-
| **Repository** | [trusera-agent-sdk](https://github.com/Trusera/trusera-agent-sdk) | [trusera-sdk-js](https://github.com/Trusera/trusera-sdk-js) | [trusera-sdk-go](https://github.com/Trusera/trusera-sdk-go) |
10-
| **Package** | `trusera-sdk` (PyPI) | `trusera-sdk` (npm) | `github.com/Trusera/trusera-sdk-go` |
9+
| **Repository** | [trusera-agent-sdk](https://github.com/Trusera/trusera-agent-sdk) | [trusera-sdk-js](https://github.com/Trusera/trusera-sdk-js) | [trusera-sdk-go](https://github.com/Trusera/ai-bom/trusera-sdk-go) |
10+
| **Package** | `trusera-sdk` (PyPI) | `trusera-sdk` (npm) | `github.com/Trusera/ai-bom/trusera-sdk-go` |
1111
| **License** | Apache 2.0 | Apache 2.0 | Apache 2.0 |
1212

1313
---
@@ -68,7 +68,7 @@ Choose the SDK that matches your agent's language:
6868
| Feature | Python | TypeScript | Go |
6969
|---------|--------|------------|-----|
7070
| **Package name** | `trusera-sdk` | `trusera-sdk` | `trusera-sdk-go` |
71-
| **Install command** | `pip install trusera-sdk` | `npm install trusera-sdk` | `go get github.com/Trusera/trusera-sdk-go` |
71+
| **Install command** | `pip install trusera-sdk` | `npm install trusera-sdk` | `go get github.com/Trusera/ai-bom/trusera-sdk-go` |
7272
| **HTTP Interception** | `@monitor` decorator | `fetch` monkey-patch | `http.RoundTripper` wrapper |
7373
| **LangChain Integration** | `TruseraCallbackHandler` | `TruseraLangChainHandler` | -- |
7474
| **CrewAI Integration** | `TruseraCrewCallback` (StepCallback) | -- | -- |
@@ -212,7 +212,7 @@ package main
212212

213213
import (
214214
"net/http"
215-
"github.com/Trusera/trusera-sdk-go"
215+
"github.com/Trusera/ai-bom/trusera-sdk-go"
216216
)
217217

218218
func main() {
@@ -551,7 +551,7 @@ package main
551551
import (
552552
"fmt"
553553
"net/http"
554-
"github.com/Trusera/trusera-sdk-go"
554+
"github.com/Trusera/ai-bom/trusera-sdk-go"
555555
)
556556

557557
func main() {
@@ -1202,7 +1202,7 @@ regardless of which SDK generated them.
12021202
- [Cedar Policy Language](https://www.cedarpolicy.com)
12031203
- [Python SDK Reference](https://docs.trusera.io/sdk/python)
12041204
- [TypeScript SDK Reference](https://docs.trusera.io/sdk/typescript)
1205-
- [Go SDK Reference](https://pkg.go.dev/github.com/Trusera/trusera-sdk-go)
1205+
- [Go SDK Reference](https://pkg.go.dev/github.com/Trusera/ai-bom/trusera-sdk-go)
12061206
- [AI-BOM Scanner](https://github.com/Trusera/ai-bom)
12071207

12081208
---

trusera-agent-sdk/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dev = ["pytest>=7.0", "pytest-asyncio>=0.21", "ruff>=0.1.0", "mypy>=1.0"]
3333

3434
[project.urls]
3535
Homepage = "https://trusera.dev"
36-
Repository = "https://github.com/Trusera/trusera-agent-sdk"
36+
Repository = "https://github.com/Trusera/ai-bom"
3737
Documentation = "https://docs.trusera.dev/sdk/python"
3838

3939
[tool.ruff]

trusera-sdk-go/PROJECT_SUMMARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ HTTP interception logic:
9191

9292
### go.mod
9393
```
94-
module github.com/Trusera/trusera-sdk-go
94+
module github.com/Trusera/ai-bom/trusera-sdk-go
9595
go 1.21
9696
```
9797
Zero external dependencies.
@@ -218,7 +218,7 @@ httpClient.Get("https://api.example.com")
218218

219219
## Next Steps
220220

221-
1. Publish to GitHub: `github.com/Trusera/trusera-sdk-go`
221+
1. Publish to GitHub: `github.com/Trusera/ai-bom/trusera-sdk-go`
222222
2. Tag v0.1.0 release
223223
3. Submit to pkg.go.dev
224224
4. Add to Trusera docs

trusera-sdk-go/QUICKSTART.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Get started with the Trusera Go SDK in 5 minutes.
55
## Installation
66

77
```bash
8-
go get github.com/Trusera/trusera-sdk-go
8+
go get github.com/Trusera/ai-bom/trusera-sdk-go
99
```
1010

1111
## Your First Trusera Agent
@@ -19,7 +19,7 @@ import (
1919
"fmt"
2020
"net/http"
2121

22-
"github.com/Trusera/trusera-sdk-go"
22+
"github.com/Trusera/ai-bom/trusera-sdk-go"
2323
)
2424

2525
func main() {
@@ -61,7 +61,7 @@ import (
6161
"fmt"
6262
"net/http"
6363

64-
"github.com/Trusera/trusera-sdk-go"
64+
"github.com/Trusera/ai-bom/trusera-sdk-go"
6565
)
6666

6767
func main() {
@@ -92,7 +92,7 @@ package main
9292

9393
import (
9494
"fmt"
95-
"github.com/Trusera/trusera-sdk-go"
95+
"github.com/Trusera/ai-bom/trusera-sdk-go"
9696
)
9797

9898
func main() {
@@ -136,5 +136,5 @@ func main() {
136136
## Support
137137

138138
- Documentation: https://docs.trusera.io
139-
- Issues: https://github.com/Trusera/trusera-sdk-go/issues
139+
- Issues: https://github.com/Trusera/ai-bom/trusera-sdk-go/issues
140140
- Discord: https://discord.gg/trusera

trusera-sdk-go/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Go SDK for monitoring AI agents with Trusera's Cedar-based policy engine.
44

5-
[![Go Reference](https://pkg.go.dev/badge/github.com/Trusera/trusera-sdk-go.svg)](https://pkg.go.dev/github.com/Trusera/trusera-sdk-go)
6-
[![Go Report Card](https://goreportcard.com/badge/github.com/Trusera/trusera-sdk-go)](https://goreportcard.com/report/github.com/Trusera/trusera-sdk-go)
5+
[![Go Reference](https://pkg.go.dev/badge/github.com/Trusera/ai-bom/trusera-sdk-go.svg)](https://pkg.go.dev/github.com/Trusera/ai-bom/trusera-sdk-go)
6+
[![Go Report Card](https://goreportcard.com/badge/github.com/Trusera/ai-bom/trusera-sdk-go)](https://goreportcard.com/report/github.com/Trusera/ai-bom/trusera-sdk-go)
77
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
88

99
## Features
@@ -18,7 +18,7 @@ Go SDK for monitoring AI agents with Trusera's Cedar-based policy engine.
1818
## Installation
1919

2020
```bash
21-
go get github.com/Trusera/trusera-sdk-go
21+
go get github.com/Trusera/ai-bom/trusera-sdk-go
2222
```
2323

2424
## Quickstart
@@ -30,7 +30,7 @@ import (
3030
"fmt"
3131
"net/http"
3232

33-
"github.com/Trusera/trusera-sdk-go"
33+
"github.com/Trusera/ai-bom/trusera-sdk-go"
3434
)
3535

3636
func main() {
@@ -63,7 +63,7 @@ package main
6363

6464
import (
6565
"net/http"
66-
"github.com/Trusera/trusera-sdk-go"
66+
"github.com/Trusera/ai-bom/trusera-sdk-go"
6767
)
6868

6969
func main() {
@@ -309,5 +309,5 @@ Apache 2.0 - See [LICENSE](LICENSE) for details.
309309

310310
- [Trusera Platform](https://trusera.io)
311311
- [Documentation](https://docs.trusera.io)
312-
- [API Reference](https://pkg.go.dev/github.com/Trusera/trusera-sdk-go)
313-
- [Go SDK Repository](https://github.com/Trusera/trusera-sdk-go)
312+
- [API Reference](https://pkg.go.dev/github.com/Trusera/ai-bom/trusera-sdk-go)
313+
- [Go SDK Repository](https://github.com/Trusera/ai-bom/trusera-sdk-go)

trusera-sdk-go/VERIFICATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ $ go build ./...
129129
# Successful
130130

131131
$ go test ./...
132-
ok github.com/Trusera/trusera-sdk-go 0.559s
132+
ok github.com/Trusera/ai-bom/trusera-sdk-go 0.559s
133133

134134
$ go test -cover ./...
135-
ok github.com/Trusera/trusera-sdk-go 0.559s coverage: 85.4% of statements
135+
ok github.com/Trusera/ai-bom/trusera-sdk-go 0.559s coverage: 85.4% of statements
136136
```
137137

138138
## Dependency Check ✓

trusera-sdk-go/examples/basic/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"log"
66
"time"
77

8-
"github.com/Trusera/trusera-sdk-go"
8+
"github.com/Trusera/ai-bom/trusera-sdk-go"
99
)
1010

1111
func main() {

trusera-sdk-go/examples/block-mode/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"log"
66

7-
"github.com/Trusera/trusera-sdk-go"
7+
"github.com/Trusera/ai-bom/trusera-sdk-go"
88
)
99

1010
func main() {

trusera-sdk-go/examples/http-interceptor/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net/http"
88
"time"
99

10-
"github.com/Trusera/trusera-sdk-go"
10+
"github.com/Trusera/ai-bom/trusera-sdk-go"
1111
)
1212

1313
func main() {

trusera-sdk-go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/Trusera/trusera-sdk-go
1+
module github.com/Trusera/ai-bom/trusera-sdk-go
22

33
go 1.21

0 commit comments

Comments
 (0)