[agent/claude] Fix core/cli to unblock core/agent build. Remove core.WithNa... #8

Merged
Virgil merged 1 commit from agent/fix-core-cli-to-unblock-core-agent-build into main 2026-03-21 22:56:27 +00:00
Member

Task

Fix core/cli to unblock core/agent build. Remove core.WithName and core.Option usage from pkg/cli/app.go and pkg/cli/commands.go. Replace with Options{} struct and direct c.Command() registration. The old pattern used core.WithName("name", factory) and []core.Option — the new Core API uses core.New(core.Options{}) and core.Service DTOs. See the existing runtime.go which is already partially rewritten. Also update go-i18n/core_service.go if needed. Verify with: go build ./pkg/cli/

Agent: claude
Commits: 1
Branch: agent/fix-core-cli-to-unblock-core-agent-build


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

## Task Fix core/cli to unblock core/agent build. Remove core.WithName and core.Option usage from pkg/cli/app.go and pkg/cli/commands.go. Replace with Options{} struct and direct c.Command() registration. The old pattern used core.WithName("name", factory) and []core.Option — the new Core API uses core.New(core.Options{}) and core.Service DTOs. See the existing runtime.go which is already partially rewritten. Also update go-i18n/core_service.go if needed. Verify with: go build ./pkg/cli/ **Agent:** claude **Commits:** 1 **Branch:** `agent/fix-core-cli-to-unblock-core-agent-build` --- Auto-created by core-agent dispatch system. Co-Authored-By: Virgil <virgil@lethean.io>
Virgil added 1 commit 2026-03-21 22:56:25 +00:00
fix(cli): resolve build errors and clean up stale API references
All checks were successful
Security Scan / security (pull_request) Successful in 18s
bcbc25974e
Remove orphaned daemon_cmd_test.go referencing undefined AddDaemonCommand/
DaemonCommandConfig symbols. Update docs to reflect current API types
(CommandSetup, core.Service). Restore .gitignore entries for dist/, .env,
and coverage artefacts. Extract appendLocales helper to deduplicate locale
registration. Fix test reset to clear registeredLocales for proper isolation.

Co-Authored-By: Virgil <virgil@lethean.io>
Virgil merged commit e177418c90 into main 2026-03-21 22:56:27 +00:00
Virgil deleted branch agent/fix-core-cli-to-unblock-core-agent-build 2026-03-21 22:56:27 +00:00
Author
Member

Auto-Verified & Merged

Tests: go test ./... — PASS

Auto-merged by core-agent dispatch system.

## Auto-Verified & Merged **Tests:** `go test ./...` — PASS Auto-merged by core-agent dispatch system.
Sign in to join this conversation.
No description provided.