Commit Graph

10 Commits

Author SHA1 Message Date
999397611c temp 2026-01-16 18:53:55 +08:00
a6a7e74559 feat: Refactor server implementation to support Bun and Node environments
- Introduced `ServerNode` and `BunServer` classes to handle server logic for Node and Bun respectively.
- Updated `App` class to initialize the appropriate server based on the runtime environment.
- Enhanced `parseBody` function to handle request body parsing for both environments.
- Modified WebSocket handling to support Bun's WebSocket upgrade mechanism.
- Improved error handling and response structure across the server implementation.
- Added support for custom middleware in the server's request handling.
- Refactored server base functionality into `ServerBase` for better code organization.
- Updated type definitions to reflect changes in server options and listener handling.
- Added a new demo for testing the server functionality with various request types.
2025-12-20 05:11:51 +08:00
ef0faf84b1 update dependencies and router functionality
- Update package version to 0.0.34
- Upgrade @kevisual/local-proxy to 0.0.8 and @kevisual/query to 0.0.31
- Update rollup, cookie, selfsigned, and zod dependencies
- Remove unused share property from Route class
- Refactor queryRouter context to use app property
- Improve call method logic to prioritize path + key
- Update queryRoute to use call method
- Enhance HttpChain class with better constructor and parse method

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 10:30:58 +08:00
e31b19f931 fix: update 2025-05-18 02:49:45 +08:00
eede990ec8 perf: 优化 2025-05-15 22:32:05 +08:00
fc35b531e1 feat: add define tools 2025-05-14 20:18:58 +08:00
06c3cc4236 router writeHead修改 2025-03-30 00:37:31 +08:00
986b5687c4 bump: 0.0.6 2025-02-20 23:35:53 +08:00
2393dfe273 fix: remove default res 2024-11-16 23:16:41 +08:00
5e38740c7b feat: add simple router 2024-11-16 23:10:54 +08:00