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
27 changes: 27 additions & 0 deletions cmd/aixgate/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Package main is the entry point for the aixgate CLI.
//
// Aixgate is a deny-by-default sandbox for AI coding agents. The v0.1
// implementation is in flight per docs/PRD.md §15; this file is a
// placeholder so go.mod stays consistent and CI has something to lint.
package main

import (
"fmt"

// Reserved consumption of aixgo's public API — aixgate will use
// pkg/security helpers in v0.1 (input validation, SSRF protection).
// The blank import keeps go.mod honest until the real call sites land.
_ "github.com/aixgo-dev/aixgo/pkg/security"
)

// Version is set at build time by GoReleaser via -ldflags.
var (
Version = "dev"
Commit = "none"
Date = "unknown"
)

func main() {
fmt.Printf("aixgate %s (commit %s, built %s)\n", Version, Commit, Date)
fmt.Println("Aixgate v0.1 is in active development. See https://github.com/aixgo-dev/aixgate/blob/main/docs/PRD.md")
}
6 changes: 6 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ module github.com/aixgo-dev/aixgate
go 1.26

require github.com/aixgo-dev/aixgo v0.7.4

require (
github.com/google/uuid v1.6.0 // indirect
golang.org/x/time v0.15.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
9 changes: 9 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
github.com/aixgo-dev/aixgo v0.7.4 h1:m6kiYZvEnPYQYRXPnnOjeENYDS1ggpD2qhqS5Zg93cU=
github.com/aixgo-dev/aixgo v0.7.4/go.mod h1:Fmufg6PkU/A2Y7ebJFa0NLAJZNlZqd9CyVmwwPF6lDo=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U=
golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=