ONNX
security
malware-detection
turentomer commited on
Commit
a2a3348
·
verified ·
1 Parent(s): caeee51

Make published source self-contained

Browse files

Use the Hugging Face source module identity and remove internal repository import paths.

source/cmd/vigil-compact/main.go CHANGED
@@ -6,7 +6,7 @@ package main
6
  import (
7
  "os"
8
 
9
- "github.com/tbowyer/skill-classifier/pkg/compactcli"
10
  )
11
 
12
  func main() {
 
6
  import (
7
  "os"
8
 
9
+ "huggingface.co/turenlabs/Vigil/source/pkg/compactcli"
10
  )
11
 
12
  func main() {
source/go.mod CHANGED
@@ -1,4 +1,4 @@
1
- module github.com/tbowyer/skill-classifier
2
 
3
  go 1.26.1
4
 
 
1
+ module huggingface.co/turenlabs/Vigil/source
2
 
3
  go 1.26.1
4
 
source/pkg/bundle/aggregate.go CHANGED
@@ -5,7 +5,7 @@ import (
5
  "path/filepath"
6
  "sort"
7
 
8
- "github.com/tbowyer/skill-classifier/pkg/types"
9
  )
10
 
11
  // BundleResult is the raw cross-file analysis output for a bundle: every
 
5
  "path/filepath"
6
  "sort"
7
 
8
+ "huggingface.co/turenlabs/Vigil/source/pkg/types"
9
  )
10
 
11
  // BundleResult is the raw cross-file analysis output for a bundle: every
source/pkg/bundle/bundle.go CHANGED
@@ -17,7 +17,7 @@ import (
17
  "path/filepath"
18
  "strings"
19
 
20
- "github.com/tbowyer/skill-classifier/pkg/types"
21
  )
22
 
23
  // FileKind classifies a bundle member by what it actually is (sniffed magic
 
17
  "path/filepath"
18
  "strings"
19
 
20
+ "huggingface.co/turenlabs/Vigil/source/pkg/types"
21
  )
22
 
23
  // FileKind classifies a bundle member by what it actually is (sniffed magic
source/pkg/bundle/references.go CHANGED
@@ -4,7 +4,7 @@ import (
4
  "path/filepath"
5
  "strings"
6
 
7
- "github.com/tbowyer/skill-classifier/pkg/types"
8
  )
9
 
10
  // resolveReferences marks each File.Referenced by searching the SKILL.md for any
 
4
  "path/filepath"
5
  "strings"
6
 
7
+ "huggingface.co/turenlabs/Vigil/source/pkg/types"
8
  )
9
 
10
  // resolveReferences marks each File.Referenced by searching the SKILL.md for any
source/pkg/bundle/scan.go CHANGED
@@ -7,7 +7,7 @@ import (
7
  "path/filepath"
8
  "strings"
9
 
10
- "github.com/tbowyer/skill-classifier/pkg/parser"
11
  )
12
 
13
  const (
 
7
  "path/filepath"
8
  "strings"
9
 
10
+ "huggingface.co/turenlabs/Vigil/source/pkg/parser"
11
  )
12
 
13
  const (
source/pkg/compactcli/run.go CHANGED
@@ -7,8 +7,8 @@ import (
7
  "flag"
8
  "io"
9
 
10
- "github.com/tbowyer/skill-classifier/pkg/compactonnx"
11
- "github.com/tbowyer/skill-classifier/pkg/compactscan"
12
  )
13
 
14
  const (
 
7
  "flag"
8
  "io"
9
 
10
+ "huggingface.co/turenlabs/Vigil/source/pkg/compactonnx"
11
+ "huggingface.co/turenlabs/Vigil/source/pkg/compactscan"
12
  )
13
 
14
  const (
source/pkg/compactonnx/loader.go CHANGED
@@ -15,7 +15,7 @@ import (
15
  "strconv"
16
  "sync"
17
 
18
- "github.com/tbowyer/skill-classifier/pkg/compactmodel"
19
  ort "github.com/yalue/onnxruntime_go"
20
  )
21
 
 
15
  "strconv"
16
  "sync"
17
 
18
+ "huggingface.co/turenlabs/Vigil/source/pkg/compactmodel"
19
  ort "github.com/yalue/onnxruntime_go"
20
  )
21
 
source/pkg/compactonnx/loader_noonnx.go CHANGED
@@ -5,7 +5,7 @@ package compactonnx
5
  import (
6
  "errors"
7
 
8
- "github.com/tbowyer/skill-classifier/pkg/compactmodel"
9
  )
10
 
11
  type Model struct{}
 
5
  import (
6
  "errors"
7
 
8
+ "huggingface.co/turenlabs/Vigil/source/pkg/compactmodel"
9
  )
10
 
11
  type Model struct{}
source/pkg/compactonnx/types.go CHANGED
@@ -2,7 +2,7 @@
2
  // candidates. It has no embedded model and no legacy scoring fallback.
3
  package compactonnx
4
 
5
- import "github.com/tbowyer/skill-classifier/pkg/compactmodel"
6
 
7
  const (
8
  MetadataSchema = "vigil.compact-onnx-metadata.v1"
 
2
  // candidates. It has no embedded model and no legacy scoring fallback.
3
  package compactonnx
4
 
5
+ import "huggingface.co/turenlabs/Vigil/source/pkg/compactmodel"
6
 
7
  const (
8
  MetadataSchema = "vigil.compact-onnx-metadata.v1"
source/pkg/compactscan/scan.go CHANGED
@@ -10,8 +10,8 @@ import (
10
  "path/filepath"
11
  "strings"
12
 
13
- "github.com/tbowyer/skill-classifier/pkg/bundle"
14
- "github.com/tbowyer/skill-classifier/pkg/compactmodel"
15
  )
16
 
17
  // Stats contains only aggregate package accounting; no member names or content
 
10
  "path/filepath"
11
  "strings"
12
 
13
+ "huggingface.co/turenlabs/Vigil/source/pkg/bundle"
14
+ "huggingface.co/turenlabs/Vigil/source/pkg/compactmodel"
15
  )
16
 
17
  // Stats contains only aggregate package accounting; no member names or content
source/pkg/parser/parser.go CHANGED
@@ -5,7 +5,7 @@ import (
5
  "os"
6
  "strings"
7
 
8
- "github.com/tbowyer/skill-classifier/pkg/types"
9
  )
10
 
11
  // Parse reads a Claude Code skill markdown file and extracts frontmatter + body.
 
5
  "os"
6
  "strings"
7
 
8
+ "huggingface.co/turenlabs/Vigil/source/pkg/types"
9
  )
10
 
11
  // Parse reads a Claude Code skill markdown file and extracts frontmatter + body.