opencode-cursor-agent/internal
王性驊 f90d72b279 feat(logic): implement logic layer for health, models, and chat completions
- HealthLogic: simple health check response
- ModelsLogic: list Cursor CLI models with caching and Anthropic aliases
- ChatCompletionsLogic: scaffold for OpenAI-format completions (streaming placeholder)
- AnthropicMessagesLogic: scaffold for Anthropic format (TODO)
- Update handler for SSE streaming support
- Add models.go with ListCursorCliModels and model mappings
2026-04-03 23:00:18 +08:00
..
config Task 9: Cleanup - remove old internal files, update import paths, add go-zero entry point 2026-04-03 22:54:18 +08:00
handler feat(logic): implement logic layer for health, models, and chat completions 2026-04-03 23:00:18 +08:00
logic/chat feat(logic): implement logic layer for health, models, and chat completions 2026-04-03 23:00:18 +08:00
svc refactor(task-7): integrate all layers and fix type mismatches 2026-04-03 17:49:11 +08:00
types refactor(task-0): initialize go-zero project structure 2026-04-03 17:15:35 +08:00