pybao-xc-sdk 1.5.52 → 1.5.53

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.
Files changed (2) hide show
  1. package/README.md +11 -11
  2. package/package.json +2 -4
package/README.md CHANGED
@@ -1,17 +1,17 @@
1
1
  # pybao-xc-sdk
2
2
 
3
- pybao-xc-sdk 是用于接入 PYB 服务端能力的 SDK,面向 Web/Electron/Node 场景。
3
+ pybao-xc-sdk is an SDK for integrating with PYB server capabilities across Web, Electron, and Node environments.
4
4
 
5
- ## 功能概览
5
+ ## Feature Overview
6
6
 
7
- - 提供统一的 HTTP 客户端能力
8
- - 提供 SSE 事件订阅与实时消息流处理能力
9
- - 支持会话、消息、工具、配置、权限等核心业务域
10
- - 支持断线重连、事件续传与去重等稳态能力
11
- - 支持运行时会话后端与协议后端路由能力
7
+ - Unified HTTP client access to PYB server APIs
8
+ - SSE subscription and real-time event stream handling
9
+ - Core domain support for sessions, messages, tools, config, and permissions
10
+ - Stability features including reconnect, replay-aware recovery, and deduplication
11
+ - Runtime/protocol session backend routing support
12
12
 
13
- ## 适用场景
13
+ ## Typical Use Cases
14
14
 
15
- - 自定义前端控制台接入 PYB
16
- - Electron 桌面应用接入 PYB
17
- - 中间层服务聚合调用 PYB 能力
15
+ - Custom frontend console integration with PYB
16
+ - Electron desktop applications powered by PYB
17
+ - Middleware services orchestrating PYB capabilities
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pybao-xc-sdk",
3
- "version": "1.5.52",
3
+ "version": "1.5.53",
4
4
  "description": "PYB-CLI Server SDK",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28,14 +28,12 @@
28
28
  }
29
29
  },
30
30
  "scripts": {
31
- "sync:root-version": "node ../../scripts/sdk-version-sync.mjs --mode sync --source sdk",
32
- "check:version-aligned": "node ../../scripts/sdk-version-sync.mjs --mode check --source sdk",
33
31
  "build": "tsup src/index.ts --format cjs,esm --dts --clean",
34
32
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
35
33
  "test": "bun test",
36
34
  "typecheck": "tsc --noEmit",
37
35
  "lint": "eslint \"src/**/*.ts\"",
38
- "prepublishOnly": "npm run sync:root-version && npm run check:version-aligned && npm run build"
36
+ "prepublishOnly": "npm run build"
39
37
  },
40
38
  "dependencies": {
41
39
  "zod": "^3.25.76",