mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-06-23 01:36:47 +08:00
- Removed `examples/plugin/main.go` and `internal/pluginhost/loader_plugin.go` after migrating to a more modular system. - Introduced `streamBridge` in `internal/pluginhost/stream_bridge.go` for efficient stream handling and communication. - Added examples of `thinking` plugins written in both Rust and Go under `examples/plugin/thinking`. - Enhanced test coverage for plugin host system changes, including stream chunk translation and thinking logic. - Improved API compatibility and ensured backward-compatible upgrades for plugin execution.
9 lines
208 B
CMake
9 lines
208 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
project(cliproxy_usage_c C)
|
|
|
|
add_library(cliproxy_usage_c SHARED src/plugin.c)
|
|
set_target_properties(cliproxy_usage_c PROPERTIES
|
|
OUTPUT_NAME "usage-c"
|
|
PREFIX ""
|
|
)
|