refactor: flatten go/ subdir, migrate to dappco.re/go/agent, restore process service
- Module path: dappco.re/go/agent - Core import: dappco.re/go/core v0.4.7 - Process service re-enabled with new Core API - Plugin bumped to v0.11.0 - Directory flattened from go/ to root Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
fc9fc1af83
commit
5628abcc7f
189 changed files with 42 additions and 34 deletions
|
|
@ -1,19 +1,19 @@
|
|||
{
|
||||
"name": "core-agent",
|
||||
"description": "Host UK Claude Code plugin collection",
|
||||
"name": "dAppCore Agentic",
|
||||
"description": "Agentic systems to work on the Lethean Network's dAppCore project",
|
||||
"owner": {
|
||||
"name": "Host UK",
|
||||
"email": "hello@host.uk.com"
|
||||
"name": "Lethean Community",
|
||||
"email": "hello@lethean.io"
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"name": "core",
|
||||
"name": "CoreAgent",
|
||||
"source": "./claude/core",
|
||||
"description": "Core agent platform — dispatch (local + remote), verify+merge, CodeRabbit/Codex review queue, GitHub mirror, cross-agent messaging, OpenBrain integration",
|
||||
"version": "0.10.0"
|
||||
"description": "Core agent platform",
|
||||
"version": "0.11.0"
|
||||
},
|
||||
{
|
||||
"name": "core-php",
|
||||
"name": "CorePHP",
|
||||
"source": {
|
||||
"source": "url",
|
||||
"url": "https://forge.lthn.ai/core/php.git"
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
"version": "0.1.0"
|
||||
},
|
||||
{
|
||||
"name": "go-build",
|
||||
"name": "CoreBuild",
|
||||
"source": {
|
||||
"source": "url",
|
||||
"url": "https://forge.lthn.ai/core/go-build.git"
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
"version": "0.1.0"
|
||||
},
|
||||
{
|
||||
"name": "devops",
|
||||
"name": "CoreDevOps",
|
||||
"source": {
|
||||
"source": "url",
|
||||
"url": "https://forge.lthn.ai/core/go-devops.git"
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"name": "core",
|
||||
"name": "CoreAgent",
|
||||
"description": "Core agent platform — dispatch (local + remote), verify+merge, CodeRabbit/Codex review queue, GitHub mirror, cross-agent messaging, OpenBrain integration, inbox notifications",
|
||||
"version": "0.10.0",
|
||||
"version": "0.11.0",
|
||||
"author": {
|
||||
"name": "Lethean",
|
||||
"email": "hello@host.uk.com"
|
||||
"name": "Lethean Community",
|
||||
"email": "hello@lethean.io"
|
||||
},
|
||||
"homepage": "https://forge.lthn.ai/core/agent",
|
||||
"repository": "https://forge.lthn.ai/core/agent.git",
|
||||
"homepage": "https://dappco.re/agent/claude",
|
||||
"repository": "https://github.com/dAppCore/agent.git",
|
||||
"license": "EUPL-1.2",
|
||||
"keywords": [
|
||||
"agentic",
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"forge.lthn.ai/core/agent/agentic"
|
||||
"forge.lthn.ai/core/agent/brain"
|
||||
"forge.lthn.ai/core/agent/monitor"
|
||||
"dappco.re/go/agent/pkg/agentic"
|
||||
"dappco.re/go/agent/pkg/brain"
|
||||
"dappco.re/go/agent/pkg/monitor"
|
||||
"forge.lthn.ai/core/cli/pkg/cli"
|
||||
"forge.lthn.ai/core/go-process"
|
||||
"forge.lthn.ai/core/go/pkg/core"
|
||||
"dappco.re/go/core"
|
||||
"forge.lthn.ai/core/mcp/pkg/mcp"
|
||||
)
|
||||
|
||||
|
|
@ -25,15 +25,17 @@ func main() {
|
|||
|
||||
// Shared setup for both mcp and serve commands
|
||||
initServices := func() (*mcp.Service, *monitor.Subsystem, error) {
|
||||
c, err := core.New(core.WithName("process", process.NewService(process.Options{})))
|
||||
c := core.New(core.Options{
|
||||
{Key: "name", Value: "core-agent"},
|
||||
})
|
||||
procFactory := process.NewService(process.Options{})
|
||||
procResult, err := procFactory(c)
|
||||
if err != nil {
|
||||
return nil, nil, cli.Wrap(err, "init core")
|
||||
return nil, nil, cli.Wrap(err, "init process service")
|
||||
}
|
||||
procSvc, ok := c.Service("process").(*process.Service)
|
||||
if !ok {
|
||||
return nil, nil, cli.Wrap(core.E("core-agent", "process service not found", nil), "get process service")
|
||||
if procSvc, ok := procResult.(*process.Service); ok {
|
||||
process.SetDefault(procSvc)
|
||||
}
|
||||
process.SetDefault(procSvc)
|
||||
|
||||
mon := monitor.New()
|
||||
prep := agentic.NewPrep()
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
module dAppCo.re/go/agent
|
||||
module dappco.re/go/agent
|
||||
|
||||
go 1.26.0
|
||||
|
||||
require (
|
||||
dappco.re/go/core v0.4.7
|
||||
forge.lthn.ai/core/api v0.1.3
|
||||
forge.lthn.ai/core/cli v0.3.6
|
||||
forge.lthn.ai/core/go v0.3.1
|
||||
forge.lthn.ai/core/go-io v0.1.5
|
||||
forge.lthn.ai/core/go-log v0.0.4
|
||||
forge.lthn.ai/core/go-process v0.2.7
|
||||
|
|
@ -13,10 +13,12 @@ require (
|
|||
forge.lthn.ai/core/mcp v0.3.2
|
||||
github.com/gin-gonic/gin v1.12.0
|
||||
github.com/modelcontextprotocol/go-sdk v1.4.1
|
||||
github.com/stretchr/testify v1.11.1
|
||||
gopkg.in/yaml.v3 v3.0.1
|
||||
)
|
||||
|
||||
require (
|
||||
forge.lthn.ai/core/go v0.3.1 // indirect
|
||||
forge.lthn.ai/core/go-ai v0.1.11 // indirect
|
||||
forge.lthn.ai/core/go-i18n v0.1.6 // indirect
|
||||
forge.lthn.ai/core/go-inference v0.1.5 // indirect
|
||||
|
|
@ -46,6 +48,7 @@ require (
|
|||
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
|
||||
github.com/cloudwego/base64x v0.1.6 // indirect
|
||||
github.com/coreos/go-oidc/v3 v3.17.0 // indirect
|
||||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
||||
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
||||
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
|
||||
github.com/gabriel-vasile/mimetype v1.4.13 // indirect
|
||||
|
|
@ -104,6 +107,7 @@ require (
|
|||
github.com/muesli/termenv v0.16.0 // indirect
|
||||
github.com/ollama/ollama v0.18.0 // indirect
|
||||
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
||||
github.com/qdrant/go-client v1.17.1 // indirect
|
||||
github.com/quic-go/qpack v0.6.0 // indirect
|
||||
github.com/quic-go/quic-go v0.59.0 // indirect
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
dappco.re/go/core v0.4.7 h1:KmIA/2lo6rl1NMtLrKqCWfMlUqpDZYH3q0/d10dTtGA=
|
||||
dappco.re/go/core v0.4.7/go.mod h1:f2/tBZ3+3IqDrg2F5F598llv0nmb/4gJVCFzM5geE4A=
|
||||
forge.lthn.ai/core/api v0.1.3 h1:iYmNP6zK5SiNRunYEsXPvjppTh3bQADkMyoCC8lEs48=
|
||||
forge.lthn.ai/core/api v0.1.3/go.mod h1:dBOZc6DS0HdnTfCJZ8FkZxWJio2cIf0d1UrCAlDanrA=
|
||||
forge.lthn.ai/core/cli v0.3.6 h1:qYAn+6iMd2py7Wu2CYgXCRQvin1/QG72lH8skR7kqsE=
|
||||
|
|
@ -17,7 +17,7 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"forge.lthn.ai/core/agent/lib"
|
||||
"dappco.re/go/agent/pkg/lib"
|
||||
coreio "forge.lthn.ai/core/go-io"
|
||||
coreerr "forge.lthn.ai/core/go-log"
|
||||
"github.com/modelcontextprotocol/go-sdk/mcp"
|
||||
|
|
@ -14,7 +14,7 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"forge.lthn.ai/core/agent/agentic"
|
||||
"dappco.re/go/agent/pkg/agentic"
|
||||
coreio "forge.lthn.ai/core/go-io"
|
||||
coreerr "forge.lthn.ai/core/go-log"
|
||||
"github.com/modelcontextprotocol/go-sdk/mcp"
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue