oblien 1.0.4 → 1.0.5
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/index.js +14 -3
- package/package.json +3 -21
package/index.js
CHANGED
|
@@ -3,15 +3,26 @@
|
|
|
3
3
|
* Server-side SDK for Oblien AI Platform
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
import { OblienClient } from './src/client.js';
|
|
7
|
+
import { OblienChat, ChatSession } from './src/chat/index.js';
|
|
8
|
+
import {
|
|
9
9
|
GuestManager,
|
|
10
10
|
NodeCacheStorage,
|
|
11
11
|
InMemoryStorage,
|
|
12
12
|
RedisStorage
|
|
13
13
|
} from './src/utils/guest-manager.js';
|
|
14
14
|
|
|
15
|
+
// Re-export as named exports
|
|
16
|
+
export { OblienClient };
|
|
17
|
+
export { OblienChat, ChatSession };
|
|
18
|
+
export {
|
|
19
|
+
GuestManager,
|
|
20
|
+
NodeCacheStorage,
|
|
21
|
+
InMemoryStorage,
|
|
22
|
+
RedisStorage
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
// Default export
|
|
15
26
|
export default {
|
|
16
27
|
OblienClient,
|
|
17
28
|
OblienChat,
|
package/package.json
CHANGED
|
@@ -1,31 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oblien",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Server-side SDK for Oblien AI Platform - Build AI-powered applications with chat, agents, and workflows",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
|
-
".":
|
|
10
|
-
|
|
11
|
-
"require": "./index.cjs",
|
|
12
|
-
"types": "./index.d.ts"
|
|
13
|
-
},
|
|
14
|
-
"./chat": {
|
|
15
|
-
"import": "./chat.js",
|
|
16
|
-
"require": "./chat.cjs"
|
|
17
|
-
},
|
|
18
|
-
"./agents": {
|
|
19
|
-
"import": "./agents.js",
|
|
20
|
-
"require": "./agents.cjs"
|
|
21
|
-
},
|
|
22
|
-
"./workflows": {
|
|
23
|
-
"import": "./workflows.js",
|
|
24
|
-
"require": "./workflows.cjs"
|
|
25
|
-
},
|
|
26
|
-
"./guest": {
|
|
27
|
-
"import": "./src/utils/guest-manager.js"
|
|
28
|
-
}
|
|
9
|
+
".": "./index.js",
|
|
10
|
+
"./chat": "./chat.js"
|
|
29
11
|
},
|
|
30
12
|
"scripts": {
|
|
31
13
|
"test": "node --test tests/**/*.test.js"
|