Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Only the latest stable release receives security fixes.

**Do not open a public GitHub issue for security vulnerabilities.**

Report security issues privately via [GitHub Security Advisories](https://github.com/ezzek/skill-sync/security/advisories/new).
Report security issues privately via [GitHub Security Advisories](https://github.com/eezzekl/skill-sync/security/advisories/new).

### What to Include

Expand Down
2 changes: 1 addition & 1 deletion cmd/skill-sync/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/ezzek/skill-sync/internal/cli"
"github.com/eezzekl/skill-sync/internal/cli"
)

// version is set at build time via -ldflags "-X main.version=vX.Y.Z"
Expand Down
41 changes: 41 additions & 0 deletions cmd/skill-sync/module_path_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
package main

import (
"os"
"path/filepath"
"strings"
"testing"
)

// canonicalModulePath is the module path that external consumers must be able to
// resolve, and it has to match the repository URL exactly.
const canonicalModulePath = "github.com/eezzekl/skill-sync"

// TestGoModDeclaresCanonicalModulePath guards an invariant that neither the
// compiler nor the rest of the suite can observe. A wrong module path is
// internally consistent — every import agrees with go.mod — so everything builds
// and passes while `go install` fails for every consumer resolving the module
// through the proxy. Only an assertion against the repository URL catches it.
func TestGoModDeclaresCanonicalModulePath(t *testing.T) {
data, err := os.ReadFile(filepath.Join("..", "..", "go.mod"))
if err != nil {
t.Fatalf("failed to read go.mod: %v", err)
}

var declared string
for _, line := range strings.Split(string(data), "\n") {
if rest, ok := strings.CutPrefix(strings.TrimSpace(line), "module "); ok {
declared = strings.TrimSpace(rest)
break
}
}

if declared == "" {
t.Fatal("go.mod declares no module path")
}

if declared != canonicalModulePath {
t.Errorf("go.mod module path mismatch:\n declared: %s\n canonical: %s\n"+
"A mismatch breaks `go install` for every consumer.", declared, canonicalModulePath)
}
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/ezzek/skill-sync
module github.com/eezzekl/skill-sync

go 1.26.1

Expand Down
2 changes: 1 addition & 1 deletion internal/agent/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"testing"

"github.com/ezzek/skill-sync/internal/agent"
"github.com/eezzekl/skill-sync/internal/agent"
)

func TestParseConfig(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions internal/cli/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"os"
"path/filepath"

"github.com/ezzek/skill-sync/internal/agent/discovery"
"github.com/ezzek/skill-sync/internal/writer"
"github.com/eezzekl/skill-sync/internal/agent/discovery"
"github.com/eezzekl/skill-sync/internal/writer"
"github.com/spf13/cobra"
"gopkg.in/yaml.v3"
)
Expand Down
6 changes: 3 additions & 3 deletions internal/cli/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"os"
"path/filepath"

"github.com/ezzek/skill-sync/internal/agent"
"github.com/ezzek/skill-sync/internal/agent/config_resolver"
"github.com/ezzek/skill-sync/internal/importer"
"github.com/eezzekl/skill-sync/internal/agent"
"github.com/eezzekl/skill-sync/internal/agent/config_resolver"
"github.com/eezzekl/skill-sync/internal/importer"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/cli/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"path/filepath"
"strings"

"github.com/ezzek/skill-sync/internal/agent/discovery"
"github.com/ezzek/skill-sync/internal/writer"
"github.com/eezzekl/skill-sync/internal/agent/discovery"
"github.com/eezzekl/skill-sync/internal/writer"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/cli/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"path/filepath"

"github.com/ezzek/skill-sync/internal/importer"
"github.com/ezzek/skill-sync/internal/models"
"github.com/ezzek/skill-sync/internal/tui"
"github.com/eezzekl/skill-sync/internal/importer"
"github.com/eezzekl/skill-sync/internal/models"
"github.com/eezzekl/skill-sync/internal/tui"
"github.com/spf13/cobra"
)

Expand Down
12 changes: 6 additions & 6 deletions internal/cli/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"os"
"sort"

"github.com/ezzek/skill-sync/internal/agent"
"github.com/ezzek/skill-sync/internal/agent/config_resolver"
"github.com/ezzek/skill-sync/internal/agent/discovery"
"github.com/ezzek/skill-sync/internal/mesh"
"github.com/ezzek/skill-sync/internal/models"
internalsync "github.com/ezzek/skill-sync/internal/sync"
"github.com/eezzekl/skill-sync/internal/agent"
"github.com/eezzekl/skill-sync/internal/agent/config_resolver"
"github.com/eezzekl/skill-sync/internal/agent/discovery"
"github.com/eezzekl/skill-sync/internal/mesh"
"github.com/eezzekl/skill-sync/internal/models"
internalsync "github.com/eezzekl/skill-sync/internal/sync"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/cli/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"testing"

"github.com/ezzek/skill-sync/internal/cli"
"github.com/eezzekl/skill-sync/internal/cli"
)

// helper: create a SKILL.md file with given content at <dir>/skills/<skillID>/SKILL.md
Expand Down
8 changes: 4 additions & 4 deletions internal/cli/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"os"
"strings"

"github.com/ezzek/skill-sync/internal/agent"
"github.com/ezzek/skill-sync/internal/agent/config_resolver"
"github.com/ezzek/skill-sync/internal/agent/discovery"
"github.com/ezzek/skill-sync/internal/mesh"
"github.com/eezzekl/skill-sync/internal/agent"
"github.com/eezzekl/skill-sync/internal/agent/config_resolver"
"github.com/eezzekl/skill-sync/internal/agent/discovery"
"github.com/eezzekl/skill-sync/internal/mesh"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/cli/verify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"testing"

"github.com/ezzek/skill-sync/internal/cli"
"github.com/eezzekl/skill-sync/internal/cli"
)

func TestNewVerifyCmd(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions internal/importer/importer.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"strings"
"time"

"github.com/ezzek/skill-sync/internal/mesh"
"github.com/ezzek/skill-sync/internal/models"
"github.com/ezzek/skill-sync/internal/writer"
"github.com/eezzekl/skill-sync/internal/mesh"
"github.com/eezzekl/skill-sync/internal/models"
"github.com/eezzekl/skill-sync/internal/writer"
"gopkg.in/yaml.v3"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/importer/importer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/ezzek/skill-sync/internal/models"
"github.com/eezzekl/skill-sync/internal/models"
)

// makeSkillDir creates a minimal skill directory with a SKILL.md at
Expand Down
2 changes: 1 addition & 1 deletion internal/mesh/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package mesh
import (
"errors"

"github.com/ezzek/skill-sync/internal/models"
"github.com/eezzekl/skill-sync/internal/models"
)

// Resolver determines the winning skill version.
Expand Down
4 changes: 2 additions & 2 deletions internal/mesh/resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"
"time"

"github.com/ezzek/skill-sync/internal/mesh"
"github.com/ezzek/skill-sync/internal/models"
"github.com/eezzekl/skill-sync/internal/mesh"
"github.com/eezzekl/skill-sync/internal/models"
)

func TestResolver_Resolve(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/mesh/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"path/filepath"
"strings"

"github.com/ezzek/skill-sync/internal/models"
"github.com/eezzekl/skill-sync/internal/models"
"gopkg.in/yaml.v3"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/mesh/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"path/filepath"
"testing"

"github.com/ezzek/skill-sync/internal/mesh"
"github.com/eezzekl/skill-sync/internal/mesh"
)

func TestScanner_Scan(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions internal/sync/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"os"
"path/filepath"

"github.com/ezzek/skill-sync/internal/models"
"github.com/ezzek/skill-sync/internal/writer"
"github.com/eezzekl/skill-sync/internal/models"
"github.com/eezzekl/skill-sync/internal/writer"
)

type Engine interface {
Expand Down
4 changes: 2 additions & 2 deletions internal/sync/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"runtime"
"testing"

"github.com/ezzek/skill-sync/internal/models"
"github.com/ezzek/skill-sync/internal/sync"
"github.com/eezzekl/skill-sync/internal/models"
"github.com/eezzekl/skill-sync/internal/sync"
)

func TestEngine_Sync(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions internal/tui/config_view/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strings"

tea "github.com/charmbracelet/bubbletea"
"github.com/ezzek/skill-sync/internal/tui/shared_toggle"
"github.com/ezzek/skill-sync/internal/tui/styles"
"github.com/eezzekl/skill-sync/internal/tui/shared_toggle"
"github.com/eezzekl/skill-sync/internal/tui/styles"
)

type UpdateConfigMsg struct {
Expand Down
4 changes: 2 additions & 2 deletions internal/tui/import_skill_view/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strings"

tea "github.com/charmbracelet/bubbletea"
"github.com/ezzek/skill-sync/internal/importer"
"github.com/ezzek/skill-sync/internal/tui/styles"
"github.com/eezzekl/skill-sync/internal/importer"
"github.com/eezzekl/skill-sync/internal/tui/styles"
)

// ConfirmedMsg carries the skill the user selected for import.
Expand Down
4 changes: 2 additions & 2 deletions internal/tui/import_skill_view/model_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/x/exp/teatest"
"github.com/ezzek/skill-sync/internal/importer"
"github.com/ezzek/skill-sync/internal/models"
"github.com/eezzekl/skill-sync/internal/importer"
"github.com/eezzekl/skill-sync/internal/models"
)

func makeCandidate(skillID, name, desc string, isConflict bool) importer.SkillCandidate {
Expand Down
4 changes: 2 additions & 2 deletions internal/tui/import_source_view/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strings"

tea "github.com/charmbracelet/bubbletea"
"github.com/ezzek/skill-sync/internal/tui/shared_toggle"
"github.com/ezzek/skill-sync/internal/tui/styles"
"github.com/eezzekl/skill-sync/internal/tui/shared_toggle"
"github.com/eezzekl/skill-sync/internal/tui/styles"
)

// ConfirmedMsg carries the subset of source directories the user kept checked.
Expand Down
4 changes: 2 additions & 2 deletions internal/tui/init_view/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"

tea "github.com/charmbracelet/bubbletea"
"github.com/ezzek/skill-sync/internal/tui/shared_toggle"
"github.com/ezzek/skill-sync/internal/tui/styles"
"github.com/eezzekl/skill-sync/internal/tui/shared_toggle"
"github.com/eezzekl/skill-sync/internal/tui/styles"
)

type InitConfigMsg struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/tui/menu/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package menu
import (
"github.com/charmbracelet/bubbles/list"
tea "github.com/charmbracelet/bubbletea"
"github.com/ezzek/skill-sync/internal/tui/styles"
"github.com/eezzekl/skill-sync/internal/tui/styles"
)

type MenuSelectionMsg struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/tui/output_view/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

tea "github.com/charmbracelet/bubbletea"
"github.com/ezzek/skill-sync/internal/tui/styles"
"github.com/eezzekl/skill-sync/internal/tui/styles"
)

const maxVisible = 20
Expand Down
26 changes: 13 additions & 13 deletions internal/tui/program.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ import (
"path/filepath"

tea "github.com/charmbracelet/bubbletea"
"github.com/ezzek/skill-sync/internal/agent"
"github.com/ezzek/skill-sync/internal/agent/config_resolver"
"github.com/ezzek/skill-sync/internal/agent/discovery"
"github.com/ezzek/skill-sync/internal/importer"
"github.com/ezzek/skill-sync/internal/models"
"github.com/ezzek/skill-sync/internal/tui/config_view"
"github.com/ezzek/skill-sync/internal/tui/import_skill_view"
"github.com/ezzek/skill-sync/internal/tui/import_source_view"
"github.com/ezzek/skill-sync/internal/tui/init_view"
"github.com/ezzek/skill-sync/internal/tui/menu"
"github.com/ezzek/skill-sync/internal/tui/output_view"
"github.com/ezzek/skill-sync/internal/tui/sync_select_view"
"github.com/ezzek/skill-sync/internal/writer"
"github.com/eezzekl/skill-sync/internal/agent"
"github.com/eezzekl/skill-sync/internal/agent/config_resolver"
"github.com/eezzekl/skill-sync/internal/agent/discovery"
"github.com/eezzekl/skill-sync/internal/importer"
"github.com/eezzekl/skill-sync/internal/models"
"github.com/eezzekl/skill-sync/internal/tui/config_view"
"github.com/eezzekl/skill-sync/internal/tui/import_skill_view"
"github.com/eezzekl/skill-sync/internal/tui/import_source_view"
"github.com/eezzekl/skill-sync/internal/tui/init_view"
"github.com/eezzekl/skill-sync/internal/tui/menu"
"github.com/eezzekl/skill-sync/internal/tui/output_view"
"github.com/eezzekl/skill-sync/internal/tui/sync_select_view"
"github.com/eezzekl/skill-sync/internal/writer"
"gopkg.in/yaml.v3"
)

Expand Down
18 changes: 9 additions & 9 deletions internal/tui/program_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import (
"testing"

tea "github.com/charmbracelet/bubbletea"
"github.com/ezzek/skill-sync/internal/importer"
"github.com/ezzek/skill-sync/internal/models"
"github.com/ezzek/skill-sync/internal/tui/config_view"
"github.com/ezzek/skill-sync/internal/tui/import_skill_view"
"github.com/ezzek/skill-sync/internal/tui/import_source_view"
"github.com/ezzek/skill-sync/internal/tui/init_view"
"github.com/ezzek/skill-sync/internal/tui/menu"
"github.com/ezzek/skill-sync/internal/tui/output_view"
"github.com/ezzek/skill-sync/internal/tui/sync_select_view"
"github.com/eezzekl/skill-sync/internal/importer"
"github.com/eezzekl/skill-sync/internal/models"
"github.com/eezzekl/skill-sync/internal/tui/config_view"
"github.com/eezzekl/skill-sync/internal/tui/import_skill_view"
"github.com/eezzekl/skill-sync/internal/tui/import_source_view"
"github.com/eezzekl/skill-sync/internal/tui/init_view"
"github.com/eezzekl/skill-sync/internal/tui/menu"
"github.com/eezzekl/skill-sync/internal/tui/output_view"
"github.com/eezzekl/skill-sync/internal/tui/sync_select_view"
)

func TestRootModelTransitions(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/tui/shared_toggle/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

tea "github.com/charmbracelet/bubbletea"
"github.com/ezzek/skill-sync/internal/tui/styles"
"github.com/eezzekl/skill-sync/internal/tui/styles"
)

type Item struct {
Expand Down
Loading
Loading