@cuylabs/agent-http 4.10.0 → 5.0.0

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/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ function isServerSource(source) {
14
14
  return typeof source.startTurn === "function" && typeof source.subscribe === "function";
15
15
  }
16
16
  function isAdapterSource(source) {
17
- return typeof source.chat === "function" && typeof source.listSessions === "function" && typeof source.getSessionStorage === "function";
17
+ return typeof source.chat === "function" && typeof source.listSessions === "function" && typeof source.getSessionStore === "function";
18
18
  }
19
19
  async function* iterateAgentEvents(source, options) {
20
20
  if (isServerSource(source)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuylabs/agent-http",
3
- "version": "4.10.0",
3
+ "version": "5.0.0",
4
4
  "description": "HTTP streaming adapter for @cuylabs/agent-core - bridges agent events to AI SDK compatible streams",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,8 +17,8 @@
17
17
  "README.md"
18
18
  ],
19
19
  "dependencies": {
20
- "@cuylabs/agent-core": "^4.10.0",
21
- "@cuylabs/agent-server": "^4.10.0"
20
+ "@cuylabs/agent-core": "^5.0.0",
21
+ "@cuylabs/agent-server": "^5.0.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/node": "^22.0.0",