@sema-agent/server 4.1.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -198,6 +198,12 @@ export function mapToServiceEffective(eff, version) {
198
198
  api: m.api,
199
199
  ...(m.baseUrl !== undefined ? { baseUrl: m.baseUrl } : {}),
200
200
  ...(m.apiKeyEnv !== undefined ? { apiKeyEnv: m.apiKeyEnv } : {}),
201
+ // RL-1(P4 A0 发现,2026-08-02;autoCompactTokens/promptGuidance 同类病族):CLOSED 投影剥掉
202
+ // sealedApiKey 会让本地 lane 的 sealed 模型绕过 applyEffective 的毒丸臂(严格互斥纪律)⇒
203
+ // 静默烧网关共享 key——正是毒丸臂声称杜绝的事故。携带它,无 opener 时毒丸自然接管(fail-loud)。
204
+ ...(m.sealedApiKey !== undefined ? { sealedApiKey: m.sealedApiKey } : {}),
205
+ // 同族连带:quotaWeight 被剥 ⇒ 本地 lane 配额倍率静默归 1(weight-at-burn 面失真)。
206
+ ...(m.quotaWeight !== undefined ? { quotaWeight: m.quotaWeight } : {}),
201
207
  tier: m.tier,
202
208
  reasoning: m.reasoning,
203
209
  vision: m.vision,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sema-agent/server",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Sema Server — the server/API implementation layer for Sema, wiring core, registry, model providers, and cloud agent execution. Built on @sema-agent/core.",
5
5
  "type": "module",
6
6
  "license": "BUSL-1.1",