@rebyteai/agent-sdk 0.2.1 → 0.2.2

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 CHANGED
@@ -6,7 +6,7 @@ Node.js 22+. Apache-2.0. Upstream provenance: [UPSTREAM.md](UPSTREAM.md).
6
6
  Install in your application; no repository clone is required:
7
7
 
8
8
  ```sh
9
- pnpm add @rebyteai/agent-sdk@0.2.0
9
+ pnpm add @rebyteai/agent-sdk
10
10
  export REBYTE_API_KEY='rbk_...'
11
11
  ```
12
12
 
@@ -41,5 +41,13 @@ Rebyte's server capability limits still apply; see the
41
41
  [API docs](https://rebyte.ai/docs/agents-api/overview).
42
42
 
43
43
  Install released versions from npm. Matching archives and SHA-256 checksums are
44
- available in [GitHub Releases](https://github.com/ReByteAI/rebyte-agent-toolkit/releases/tag/v0.2.0).
44
+ available in [GitHub Releases](https://github.com/ReByteAI/rebyte-agent-toolkit/releases/latest).
45
45
  To modify the SDK itself, clone this repository and run `pnpm install && pnpm build`.
46
+
47
+
48
+ For client functions, include `{ type: 'tool_search' }` and set
49
+ `defer_loading: true` on selected definitions. Discovery stays within a Session;
50
+ your application still executes the resulting client function calls. MCP
51
+ connections use automatic discovery independently. Follow the
52
+ [Tool Search guide](https://rebyte.ai/docs/agents-api/tools/functions#load-functions-on-demand)
53
+ and [runnable recipes](https://github.com/ReByteAI/rebyte-agent-toolkit/tree/main/examples/agents-api).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebyteai/agent-sdk",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Rebyte Agents API client, forked from the OpenAI TypeScript SDK",
5
5
  "author": "Rebyte",
6
6
  "types": "./index.d.ts",
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  /** Version of the installed OpenAI SDK package. */
2
- export const VERSION = '0.2.1'; // x-release-please-version
2
+ export const VERSION = '0.2.2'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Version of the installed OpenAI SDK package. */
2
- export declare const VERSION = "0.2.1";
2
+ export declare const VERSION = "0.2.2";
3
3
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Version of the installed OpenAI SDK package. */
2
- export declare const VERSION = "0.2.1";
2
+ export declare const VERSION = "0.2.2";
3
3
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  /** Version of the installed OpenAI SDK package. */
5
- exports.VERSION = '0.2.1'; // x-release-please-version
5
+ exports.VERSION = '0.2.2'; // x-release-please-version
6
6
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Version of the installed OpenAI SDK package. */
2
- export const VERSION = '0.2.1'; // x-release-please-version
2
+ export const VERSION = '0.2.2'; // x-release-please-version
3
3
  //# sourceMappingURL=version.mjs.map