This commit is contained in:
2025-05-23 15:11:03 +04:00
parent c86165f88c
commit 92b9c356b8
83 changed files with 450 additions and 810 deletions

View File

@@ -14,7 +14,7 @@ Dedupestor is a Go package that provides a key-value store with deduplication ba
```go
import (
"github.com/freeflowuniverse/heroagent/pkg/dedupestor"
"git.ourworld.tf/herocode/heroagent/pkg/dedupestor"
)
// Create a new dedupe store

View File

@@ -7,8 +7,8 @@ import (
"errors"
"path/filepath"
"github.com/freeflowuniverse/heroagent/pkg/data/ourdb"
"github.com/freeflowuniverse/heroagent/pkg/data/radixtree"
"git.ourworld.tf/herocode/heroagent/pkg/data/ourdb"
"git.ourworld.tf/herocode/heroagent/pkg/data/radixtree"
)
// MaxValueSize is the maximum allowed size for values (1MB)

View File

@@ -18,7 +18,7 @@ The DocTree package provides functionality for managing collections of markdown
### Creating a DocTree
```go
import "github.com/freeflowuniverse/heroagent/pkg/doctree"
import "git.ourworld.tf/herocode/heroagent/pkg/doctree"
// Create a new DocTree with a path and name
dt, err := doctree.New("/path/to/collection", "My Collection")

View File

@@ -7,7 +7,7 @@ import (
"path/filepath"
"strings"
"github.com/freeflowuniverse/heroagent/pkg/tools"
"git.ourworld.tf/herocode/heroagent/pkg/tools"
)
// Collection represents a collection of markdown pages and files

View File

@@ -5,7 +5,7 @@ import (
"context"
"fmt"
"github.com/freeflowuniverse/heroagent/pkg/tools"
"git.ourworld.tf/herocode/heroagent/pkg/tools"
"github.com/redis/go-redis/v9"
"github.com/yuin/goldmark"
"github.com/yuin/goldmark/extension"

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/freeflowuniverse/heroagent/pkg/tools"
"git.ourworld.tf/herocode/heroagent/pkg/tools"
)
// Global variable to track the current DocTree instance

View File

@@ -34,7 +34,7 @@ import (
"fmt"
"log"
"github.com/freeflowuniverse/heroagent/pkg/ourdb"
"git.ourworld.tf/herocode/heroagent/pkg/ourdb"
)
func main() {
@@ -78,7 +78,7 @@ import (
"fmt"
"log"
"github.com/freeflowuniverse/heroagent/pkg/ourdb"
"git.ourworld.tf/herocode/heroagent/pkg/ourdb"
)
func main() {

View File

@@ -4,7 +4,7 @@ package radixtree
import (
"errors"
"github.com/freeflowuniverse/heroagent/pkg/data/ourdb"
"git.ourworld.tf/herocode/heroagent/pkg/data/ourdb"
)
// Node represents a node in the radix tree