mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-05-15 06:12:37 +02:00
chore: migrate module path to syntrex-lab and prepare open source release
This commit is contained in:
parent
a54c892736
commit
5cbb3d89d3
107 changed files with 465 additions and 594 deletions
|
|
@ -4,7 +4,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/alert"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/alert"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import (
|
|||
"time"
|
||||
"unicode"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/memory"
|
||||
)
|
||||
|
||||
// Default configuration values.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/memory"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"sort"
|
||||
"strings"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/memory"
|
||||
)
|
||||
|
||||
// RelevanceScorer computes relevance scores for facts based on multiple signals:
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/memory"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ package mimicry
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/oracle"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/oracle"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/entropy"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/entropy"
|
||||
)
|
||||
|
||||
// SecretScanResult holds the result of scanning content for secrets.
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ import (
|
|||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/crystal"
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/crystal"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/memory"
|
||||
)
|
||||
|
||||
// ThreatFinding represents a single finding from the threat model scanner.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"encoding/json"
|
||||
"testing"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/crystal"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/crystal"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -15,10 +15,10 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/circuitbreaker"
|
||||
"github.com/syntrex/gomcp/internal/domain/entropy"
|
||||
"github.com/syntrex/gomcp/internal/domain/intent"
|
||||
"github.com/syntrex/gomcp/internal/domain/oracle"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/circuitbreaker"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/entropy"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/intent"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/oracle"
|
||||
)
|
||||
|
||||
// Stage represents a processing stage.
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/circuitbreaker"
|
||||
"github.com/syntrex/gomcp/internal/domain/entropy"
|
||||
"github.com/syntrex/gomcp/internal/domain/oracle"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/circuitbreaker"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/entropy"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/oracle"
|
||||
)
|
||||
|
||||
func TestPipeline_AllowsNormalText(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/vectorstore"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/vectorstore"
|
||||
)
|
||||
|
||||
// Decision represents a routing decision.
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import (
|
|||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/vectorstore"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/vectorstore"
|
||||
)
|
||||
|
||||
func seedStore() *vectorstore.Store {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"math"
|
||||
"testing"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/vectorstore"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/vectorstore"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue