[agent/claude] Fix ide/main.go to compile with current Core and MCP APIs. T... #2

Closed
Virgil wants to merge 0 commits from agent/fix-ide-main-go-to-compile-with-current into main
Member

Task

Fix ide/main.go to compile with current Core and MCP APIs. The old patterns need replacing: (1) core.WithName("name", factory) → create Core with core.New(), call factory directly, register via c.Service("name", core.Service{...}). (2) mcp.WithWorkspaceRoot/WithWSHub/WithSubsystem → mcp.New(mcp.Options{WorkspaceRoot: cwd, WSHub: hub, Subsystems: []mcp.Subsystem{...}}). (3) core.ServiceForT is removed — keep a direct reference to the service from when you create it. (4) Import paths may need updating from forge.lthn.ai to dappco.re if go.mod uses dappco.re. Check with: go build ./...

Agent: claude
Commits: 1
Branch: agent/fix-ide-main-go-to-compile-with-current


Auto-created by core-agent dispatch system.
Co-Authored-By: Virgil virgil@lethean.io

## Task Fix ide/main.go to compile with current Core and MCP APIs. The old patterns need replacing: (1) core.WithName("name", factory) → create Core with core.New(), call factory directly, register via c.Service("name", core.Service{...}). (2) mcp.WithWorkspaceRoot/WithWSHub/WithSubsystem → mcp.New(mcp.Options{WorkspaceRoot: cwd, WSHub: hub, Subsystems: []mcp.Subsystem{...}}). (3) core.ServiceFor[T](c, "name") is removed — keep a direct reference to the service from when you create it. (4) Import paths may need updating from forge.lthn.ai to dappco.re if go.mod uses dappco.re. Check with: go build ./... **Agent:** claude **Commits:** 1 **Branch:** `agent/fix-ide-main-go-to-compile-with-current` --- Auto-created by core-agent dispatch system. Co-Authored-By: Virgil <virgil@lethean.io>
Virgil added 1 commit 2026-03-22 00:40:50 +00:00
fix(core): update main.go to compile with current Core and MCP APIs
Some checks failed
Security Scan / security (pull_request) Successful in 13s
Test / test (pull_request) Failing after 1m54s
ff717ef516
Replace deprecated patterns with current API conventions:
- core.WithName/WithService → core.New() + RegisterService + RegisterAction
- mcp.WithWorkspaceRoot/WithWSHub/WithSubsystem → mcp.New(mcp.Options{})
- core.ServiceFor[T] → direct service reference
- Add cancellable context and ServiceShutdown to GUI mode
- Handle previously-discarded errors from api.New and config.New

Co-Authored-By: Virgil <virgil@lethean.io>
Author
Member

Tests Passed — Merge Failed

go test ./... passed but merge failed: forgeMergePR: HTTP 405: Please try again later

## Tests Passed — Merge Failed `go test ./...` passed but merge failed: forgeMergePR: HTTP 405: Please try again later
Virgil added the
needs-review
label 2026-03-22 00:40:53 +00:00
Author
Member

Needs Review

Merge conflict persists after rebase. Auto-merge gave up after retry.

Labelled needs-review for human attention.

## Needs Review Merge conflict persists after rebase. Auto-merge gave up after retry. Labelled `needs-review` for human attention.
Virgil closed this pull request 2026-03-24 11:12:04 +00:00
Some checks failed
Security Scan / security (pull_request) Successful in 13s
Test / test (pull_request) Failing after 1m54s

Pull request closed

Sign in to join this conversation.
No description provided.