refactor(config): удалена опция opencode.config (OPENCODE_CONFIG)
Some checks failed
CI / test (push) Failing after 1m20s
CI / build-and-package (amd64, linux) (push) Failing after 1m4s
CI / build-and-package (amd64, windows) (push) Successful in 30s

This commit is contained in:
ki.sagidullin
2026-08-23 18:18:25 +05:00
parent 8c91c83024
commit 3c51ffee4e
6 changed files with 1 additions and 33 deletions

View File

@@ -19,7 +19,6 @@ import (
// директории → каждая сессия API привязана к правильному project-каталогу.
type Pool struct {
Bin string
Config string
DBPath string
Host string
BasePort int
@@ -72,7 +71,6 @@ func (p *Pool) EnsureRoot(ctx context.Context) error {
}
s := &Server{
Bin: p.Bin,
Config: p.Config,
DBPath: p.DBPath,
Host: p.Host,
Password: p.Password,
@@ -101,7 +99,6 @@ func (p *Pool) Ensure(ctx context.Context, dir string) (*Server, error) {
abs := filepath.Clean(dir)
s := &Server{
Bin: p.Bin,
Config: p.Config,
DBPath: p.DBPath,
Host: p.Host,
Password: p.Password,