introduce v2 APIs, AI agent integration, and realtime backend infrastructure#36
Open
yuanzhihong1 wants to merge 1 commit intomainfrom
Open
introduce v2 APIs, AI agent integration, and realtime backend infrastructure#36yuanzhihong1 wants to merge 1 commit intomainfrom
yuanzhihong1 wants to merge 1 commit intomainfrom
Conversation
…ation, and realtime infrastructure
9f4f95e to
d990e6d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR delivers a major backend expansion for the
servermodule, including new v2 API surfaces, AI/Xiaozhi integration, websocket task/realtime enhancements, and broader data/model layer upgrades.In the last 2 months,
server-devmainly contains one large integration commit (d990e6d) with:What’s included
1) New API domains and versioned expansions
Added/expanded API modules for:
adminappstorepanostackchandeviceuserxiaozhiIntroduced or extended v2 endpoints for key flows:
dance/v2device/v2stackchandevice/v2user/v2Kept compatibility by retaining and refining existing v1 handlers in several areas.
2) Device and account capability upgrades
Added richer device lifecycle operations:
Added user v2 capabilities:
Added admin app management flows:
3) AI agent + Xiaozhi integration
Added new AI-related service/model modules:
internal/service/agent.gointernal/model/xiaozhi/*internal/xiaozhi/xiaozhi.goAdded token/license related controller endpoints for Xiaozhi flows:
4) Realtime/websocket infrastructure
internal/web_socket/socket_task.gointernal/web_socket/web_socket.gointernal/model/web_socket_model.go5) Data/DAO/model layer expansion
Added new entities/DO/DAO for:
app_storedevice_panouserUpdated existing device/dance/post-related DAO/model mappings.
Added constants and shared model helpers to support new workflows.
6) Middleware, bootstrapping, and config updates
internal/middleware/middleware.gointernal/boot/cron.go7) Project/documentation and assets
README.MD) and removed oldREADME.md.file/music/stackchan_music.mp3).utility/rsa.go).Impact
Notes for reviewers
This is a large-scale integration PR; reviewing by domain is recommended:
Pay special attention to backward compatibility in v1 flows and auth/middleware behavior across newly added endpoints.