@rebyteai/cli 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 +30 -1
- package/dist/cli.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Manage saved Agents through the Rebyte Agent SDK fork. Install the release in your project:
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
pnpm add -D @rebyteai/cli
|
|
6
|
+
pnpm add -D @rebyteai/cli
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
No repository clone is required. The historical `ReByteAI/rebyte-cli` repository
|
|
@@ -63,3 +63,32 @@ represented in TOML; export fails without writing. Use the Rebyte SDK for JSON.
|
|
|
63
63
|
See [migration](../../docs/migration.md) for retired manifest fields. The Commerce
|
|
64
64
|
repository has its own local business manifest and Python converter; that file is
|
|
65
65
|
not an input for this CLI.
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
## Load client functions on demand
|
|
69
|
+
|
|
70
|
+
Tool Search requires CLI 0.2.1 or later. Include a `tool_search` entry, then set
|
|
71
|
+
`defer_loading = true` on selected function entries:
|
|
72
|
+
|
|
73
|
+
```toml
|
|
74
|
+
model = "gpt-5.6-luna"
|
|
75
|
+
|
|
76
|
+
[[tools]]
|
|
77
|
+
type = "tool_search"
|
|
78
|
+
|
|
79
|
+
[[tools]]
|
|
80
|
+
type = "function"
|
|
81
|
+
name = "lookup_order"
|
|
82
|
+
description = "Look up an order by its ID."
|
|
83
|
+
defer_loading = true
|
|
84
|
+
parameters = { type = "object", properties = { order_id = { type = "string" } }, required = ["order_id"], additionalProperties = false }
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Omitted/false stays eager. Deferred functions without `tool_search` fail
|
|
88
|
+
validation. The CLI only manages definitions; your application handles
|
|
89
|
+
`required_actions` and returns `agent.session.input.tool_result`. MCP tools use
|
|
90
|
+
automatic search independently and need no `defer_loading` flag.
|
|
91
|
+
|
|
92
|
+
See the [function guide](https://rebyte.ai/docs/agents-api/tools/functions),
|
|
93
|
+
[MCP guide](https://rebyte.ai/docs/agents-api/tools/mcp) and
|
|
94
|
+
[runnable deferred-functions recipe](../../examples/agents-api/README.md).
|
package/dist/cli.js
CHANGED
|
@@ -12205,7 +12205,7 @@ function serializeAgentManifest(agent) {
|
|
|
12205
12205
|
// package.json
|
|
12206
12206
|
var package_default = {
|
|
12207
12207
|
name: "@rebyteai/cli",
|
|
12208
|
-
version: "0.2.
|
|
12208
|
+
version: "0.2.2",
|
|
12209
12209
|
description: "Create and manage Rebyte Agents from agent.toml",
|
|
12210
12210
|
license: "MIT",
|
|
12211
12211
|
repository: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebyteai/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Create and manage Rebyte Agents from agent.toml",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"ajv-formats": "3.0.1",
|
|
37
37
|
"smol-toml": "^1.8.0",
|
|
38
38
|
"zod": "^3.25.76",
|
|
39
|
-
"@rebyteai/agent-sdk": "0.2.
|
|
39
|
+
"@rebyteai/agent-sdk": "0.2.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"esbuild": "^0.27.2"
|