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.
- package/README.md +11 -11
- package/package.json +2 -4
package/README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
# pybao-xc-sdk
|
|
2
2
|
|
|
3
|
-
pybao-xc-sdk
|
|
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
|
-
-
|
|
8
|
-
-
|
|
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
|
-
-
|
|
16
|
-
- Electron
|
|
17
|
-
-
|
|
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.
|
|
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
|
|
36
|
+
"prepublishOnly": "npm run build"
|
|
39
37
|
},
|
|
40
38
|
"dependencies": {
|
|
41
39
|
"zod": "^3.25.76",
|