feat(ide): migrate to Options{} API + CI workflow #3

Merged
Virgil merged 2 commits from dev into main 2026-03-22 00:59:44 +00:00

2 commits

Author SHA1 Message Date
Snider
daa8b1e477 Merge branch 'agent/fix-ide-main-go-to-compile-with-current' of /Users/snider/Code/.core/workspace/ide-1774137860574616000/src into dev
Some checks failed
Security Scan / security (push) Successful in 14s
Test / test (push) Failing after 20s
Security Scan / security (pull_request) Successful in 11s
Test / test (pull_request) Failing after 25s
# Conflicts:
#	go.mod
#	main.go
2026-03-22 00:42:16 +00:00
Snider
ff717ef516 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
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>
2026-03-22 00:40:33 +00:00