@paean-ai/harness-network 0.1.1-rc.22 → 0.1.1-rc.24

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.
package/README.i18n.yaml CHANGED
@@ -18,8 +18,8 @@
18
18
  en: adc0bf49f2210f7a
19
19
  zh: a3a1707b60f4cbf9
20
20
  /paean-ai-harness-network/understand-the-implementation:
21
- en: 865b27eb69e86970
22
- zh: e092dd0e53413a48
21
+ en: da7033e9a21e85e2
22
+ zh: 3b4ec6fa3cc02a7b
23
23
  /paean-ai-harness-network/further-exploration:
24
24
  en: b8390df89d3381ec
25
25
  zh: 9d10572f26dc769d
package/README.md CHANGED
@@ -47,7 +47,7 @@ Custom compositions mount the service through a `cordis.yml` row:
47
47
  <details>
48
48
  <summary>Implementation internals — click to expand</summary>
49
49
 
50
- The service owns one volatile preference. API consumers resolve it at the start of each request; the pi-ai provider-options waterfall resolves the same preference before creating an immutable adapter snapshot. Both `paean` and `paean-anthropic` model routes participate. Requests already using a snapshot retain their endpoint. The account plugin owns the localized settings section and loopback HTTP routes; settings persistence and concurrency remain owned by DSH ConfigEditor.
50
+ The service owns one volatile preference. API consumers resolve it at the start of each request; the pi-ai provider-options waterfall resolves the same preference before creating an immutable adapter snapshot. The `paean`, `paean-anthropic` and `paean-responses` model routes participate. Requests already using a snapshot retain their endpoint. The account plugin owns the localized settings section and loopback HTTP routes; settings persistence and concurrency remain owned by DSH ConfigEditor.
51
51
 
52
52
  Comparison performs concurrent unauthenticated `GET /user/profile` requests against the two fixed origins, refuses redirects and discards bodies. HTTP 401 is an expected reachable response, not evidence about the user's session. The Host's fetch policy owns process proxies; this plugin never changes OS network settings. Repeated calls share one pending comparison. Disposal aborts and drains it.
53
53
 
package/README.zh.md CHANGED
@@ -47,7 +47,7 @@ Paean 组合在 GUI 和 headless profile 中都挂载此插件。在“设置
47
47
  <details>
48
48
  <summary>实现细节 — 点击展开</summary>
49
49
 
50
- 服务持有一个 volatile 偏好。API 消费方在每次请求开始时解析它;pi-ai 提供方选项 waterfall 在创建不可变适配器快照之前解析同一偏好。`paean` 和 `paean-anthropic` 两个模型路由均参与。已经使用快照的请求保留其端点。账号插件拥有本地化设置页和回环 HTTP 路由;配置持久化和并发编辑仍由 DSH ConfigEditor 负责。
50
+ 服务持有一个 volatile 偏好。API 消费方在每次请求开始时解析它;pi-ai 提供方选项 waterfall 在创建不可变适配器快照之前解析同一偏好。`paean`、`paean-anthropic` 和 `paean-responses` 三个模型路由均参与。已经使用快照的请求保留其端点。账号插件拥有本地化设置页和回环 HTTP 路由;配置持久化和并发编辑仍由 DSH ConfigEditor 负责。
51
51
 
52
52
  对比功能向两个固定 origin 并发发送无凭据的 `GET /user/profile` 请求,拒绝重定向并丢弃响应体。HTTP 401 是节点可达的预期响应,不代表用户会话状态。进程代理由 Host 的 fetch 策略负责;此插件不修改操作系统网络设置。重复调用共享同一次测速,卸载会取消并等待其结束。
53
53
 
package/lib/index.js CHANGED
@@ -99,7 +99,11 @@ var PaeanNetwork = class extends Service {
99
99
  const node = config.node.get();
100
100
  if (providers === previous && node === previousNode && routed !== void 0) return routed;
101
101
  routed = providers;
102
- for (const key of ["paean", "paean-anthropic"]) {
102
+ for (const key of [
103
+ "paean",
104
+ "paean-anthropic",
105
+ "paean-responses"
106
+ ]) {
103
107
  const profile = providers[key];
104
108
  const base = profile?.baseURL;
105
109
  const target = base === void 0 ? void 0 : this.resolve(base);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@paean-ai/harness-network",
3
3
  "description": "Shared Paean API node selection and credential-free connection diagnostics",
4
- "version": "0.1.1-rc.22",
4
+ "version": "0.1.1-rc.24",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,19 +27,19 @@
27
27
  },
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/cordis": "~4.0.5-alpha.1"
30
+ "@deepseek-ai/cordis": "~4.0.5-alpha.2"
31
31
  },
32
32
  "dependencies": {
33
- "@deepseek-ai/schemastery": "~3.18.5-alpha.1"
33
+ "@deepseek-ai/schemastery": "~3.18.5-alpha.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@deepseek-ai/cordis": "~4.0.5-alpha.1",
37
- "@deepseek-ai/dsh-llm-pi-ai": "0.2.1-alpha.2",
38
- "@deepseek-ai/dsh-settings": "0.2.1-alpha.2",
39
- "@deepseek-ai/cordis-plugin-timer": "~1.1.7-alpha.1",
40
- "@deepseek-ai/dsh-app-boot": "0.2.1-alpha.2",
41
- "@deepseek-ai/dsh-config-editor": "0.2.1-alpha.2",
42
- "@deepseek-ai/dsh-hmr": "0.2.1-alpha.2"
36
+ "@deepseek-ai/cordis": "~4.0.5-alpha.2",
37
+ "@deepseek-ai/dsh-llm-pi-ai": "0.2.1-alpha.3",
38
+ "@deepseek-ai/dsh-settings": "0.2.1-alpha.3",
39
+ "@deepseek-ai/cordis-plugin-timer": "~1.1.7-alpha.2",
40
+ "@deepseek-ai/dsh-app-boot": "0.2.1-alpha.3",
41
+ "@deepseek-ai/dsh-config-editor": "0.2.1-alpha.3",
42
+ "@deepseek-ai/dsh-hmr": "0.2.1-alpha.3"
43
43
  },
44
44
  "files": [
45
45
  "lib/index.js",