Gito를 platformless Git control plane으로 시작할 수 있도록 Go core, Flutter control surface, contracts, ops 규칙, 검증 헬퍼를 함께 구성한다.
21 lines
390 B
Go
21 lines
390 B
Go
package agentshell
|
|
|
|
import (
|
|
"log/slog"
|
|
|
|
"git.toki-labs.com/toki/gito/services/core/internal/config"
|
|
)
|
|
|
|
type Shell struct {
|
|
cfg config.Config
|
|
logger *slog.Logger
|
|
}
|
|
|
|
func New(cfg config.Config, logger *slog.Logger) *Shell {
|
|
return &Shell{cfg: cfg, logger: logger}
|
|
}
|
|
|
|
func (s *Shell) Run() error {
|
|
s.logger.Info("agent shell scaffold ready", "shell_id", s.cfg.ShellID)
|
|
return nil
|
|
}
|