mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
330de0c382
* fix(agent): disable seahorse context manager on freebsd/arm Exclude freebsd/arm from the seahorse-enabled build and route it to the unsupported stub implementation. This avoids freebsd/arm build failures caused by modernc sqlite/libc while keeping picoclaw buildable on that target. * build: bump Go version from 1.25.8 to 1.25.9 * ci: install and run govulncheck directly in PR workflow
21 lines
589 B
Go
21 lines
589 B
Go
//go:build mipsle || netbsd || (freebsd && arm)
|
|
|
|
package agent
|
|
|
|
import (
|
|
"encoding/json"
|
|
"fmt"
|
|
)
|
|
|
|
// newSeahorseContextManager is unavailable on platforms where modernc sqlite/libc
|
|
// currently has no stable build path for this project.
|
|
func newSeahorseContextManager(_ json.RawMessage, _ *AgentLoop) (ContextManager, error) {
|
|
return nil, fmt.Errorf("seahorse context manager is unavailable on this platform")
|
|
}
|
|
|
|
func init() {
|
|
if err := RegisterContextManager("seahorse", newSeahorseContextManager); err != nil {
|
|
panic(fmt.Sprintf("register seahorse context manager: %v", err))
|
|
}
|
|
}
|