- plugin-apix 新 crate:apix/handlers/api/config/models/store - ApiProxy/ApiProxyStore、api-proxies.json 读写、ax: 键空间与 APIX_* 常量自内核迁入 - ApiProxyHandler 与 $apix_* 六变量注册归 ApixPlugin;用量记账仍走 plugin_llm::stats(同一片键空间、单一写入口) - gateway 路由表只剩 trend 组合端点(需 users+upstreams+apix 三方名册) - 行为等价:262 项回归全绿(gateway 102 + llm 160)
21 lines
670 B
TOML
21 lines
670 B
TOML
[package]
|
||
name = "plugin-apix"
|
||
version = "2.0.0"
|
||
edition.workspace = true
|
||
publish = false
|
||
description = "iPass 插件:API 代理(外部供应商资产挂网关,复用 LLM 下行契约)"
|
||
|
||
[lib]
|
||
# 只有 gateway 是 cdylib;插件一律 rlib(跨 .so 传 Rust 类型会双重 free)
|
||
crate-type = ["rlib"]
|
||
|
||
[dependencies]
|
||
ngx.workspace = true
|
||
nginx-sys.workspace = true
|
||
serde.workspace = true
|
||
serde_json.workspace = true
|
||
ipass-core.workspace = true
|
||
# 用量记账:apix 与 LLM 共用同一片 ust:/ums:/ud: 键空间(slot 带 api/ 前缀归组),
|
||
# 记账入口只有一个(plugin_llm::stats),避免两份写入口漂移
|
||
plugin-llm.workspace = true
|