agentbase-web-sdk 2.6.0 → 2.7.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.
- package/README.md +5 -5
- package/dist/cjs/sdk.js +564 -21
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +564 -22
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +564 -21
- package/package.json +1 -1
- package/types/client.d.ts +2 -2
- package/types/index.d.ts +3 -2
- package/types/models.d.ts +20 -16
- package/types/services/account.d.ts +10 -10
- package/types/services/agent-runtime.d.ts +370 -0
- package/types/services/ai-gateway.d.ts +4 -1
- package/types/services/memory.d.ts +10 -7
- package/types/services/self-hosted-organizations.d.ts +4 -4
- package/types/services/storage.d.ts +6 -6
- package/types/services/teams.d.ts +6 -6
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Agentbase Agentbase SDK
|
|
2
2
|
|
|
3
3
|

|
|
4
|
-

|
|
5
5
|
[](https://travis-ci.com/appwrite/sdk-generator)
|
|
6
6
|
|
|
7
7
|
Agentbase SDK for integrating your app with Agentbase APIs and tools.
|
|
@@ -17,7 +17,7 @@ To install via [NPM](https://www.npmjs.com/):
|
|
|
17
17
|
npm install agentbase-web-sdk --save
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
If you're using a bundler (like [Rollup](https://rollupjs.org/) or [webpack](https://webpack.js.org/)), you can import the
|
|
20
|
+
If you're using a bundler (like [Rollup](https://rollupjs.org/) or [webpack](https://webpack.js.org/)), you can import the Agentbase module when you need it:
|
|
21
21
|
|
|
22
22
|
```js
|
|
23
23
|
import { Client, Account } from "agentbase-web-sdk";
|
|
@@ -25,10 +25,10 @@ import { Client, Account } from "agentbase-web-sdk";
|
|
|
25
25
|
|
|
26
26
|
### CDN
|
|
27
27
|
|
|
28
|
-
To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any
|
|
28
|
+
To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Agentbase services:
|
|
29
29
|
|
|
30
30
|
```html
|
|
31
|
-
<script src="https://cdn.jsdelivr.net/npm/agentbase-web-sdk@2.
|
|
31
|
+
<script src="https://cdn.jsdelivr.net/npm/agentbase-web-sdk@2.7.0"></script>
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
|