go/pkg/cli
Snider 04d8772cba refactor(i18n): remove C() and move intents to test-only
Breaking change: Remove C() semantic intent composition API.

- Remove C() global function and Service.C() method
- Remove IntentBuilder fluent API (I(), For(), Compose(), etc.)
- Move coreIntents from intents.go to intents_test.go (test data only)
- Remove C() from Translator interface

Replace intent-based CLI helpers with grammar composition:
- ConfirmIntent → ConfirmAction(verb, subject)
- ConfirmDangerous → ConfirmDangerousAction(verb, subject)
- QuestionIntent → QuestionAction(verb, subject)
- ChooseIntent → ChooseAction(verb, subject, items)
- ChooseMultiIntent → ChooseMultiAction(verb, subject, items)

The intent definitions now serve purely as test data to verify
the grammar engine can compose identical strings.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 16:50:08 +00:00
..
i18n.go feat(i18n): implement semantic i18n system with grammar engine 2026-01-30 12:29:44 +00:00
log.go feat(cli): wire Core runtime with i18n and log services 2026-01-30 10:55:30 +00:00
runtime.go feat(cli): wire Core runtime with i18n and log services 2026-01-30 10:55:30 +00:00
styles.go refactor(cli): clean DX with direct function calls 2026-01-30 10:41:35 +00:00
utils.go refactor(i18n): remove C() and move intents to test-only 2026-01-30 16:50:08 +00:00