@rebyteai/cli 0.2.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/LICENSE +21 -0
- package/README.md +65 -0
- package/dist/cli.js +12454 -0
- package/package.json +49 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Rebyte, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# @rebyteai/cli
|
|
2
|
+
|
|
3
|
+
Manage saved Agents through the Rebyte Agent SDK fork. Install the release in your project:
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
pnpm add -D @rebyteai/cli@0.2.0
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
No repository clone is required. The historical `ReByteAI/rebyte-cli` repository
|
|
10
|
+
is archived; this package is the current CLI.
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
export REBYTE_API_KEY='rbk_...'
|
|
14
|
+
pnpm exec rebyte agent validate -f /path/to/agent.toml
|
|
15
|
+
pnpm exec rebyte agent create -f /path/to/agent.toml
|
|
16
|
+
pnpm exec rebyte agent apply agent_... -f /path/to/agent.toml
|
|
17
|
+
pnpm exec rebyte agent export agent_... -o /path/to/export.toml
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`--env dev` uses `http://127.0.0.1:34567`; production defaults to
|
|
21
|
+
`https://api.rebyte.ai`. `REBYTE_BASE_URL` or `--base-url` accepts the origin or
|
|
22
|
+
its `/v1` URL. `--env test` requires `REBYTE_TEST_BASE_URL`. Export refuses to
|
|
23
|
+
replace an existing file unless `--force` is present.
|
|
24
|
+
|
|
25
|
+
## Manifest
|
|
26
|
+
|
|
27
|
+
```toml
|
|
28
|
+
model = "gpt-5.6-luna"
|
|
29
|
+
name = "Company assistant"
|
|
30
|
+
instructions_file = "prompt.md"
|
|
31
|
+
|
|
32
|
+
[[tools]]
|
|
33
|
+
type = "mcp"
|
|
34
|
+
server_label = "company"
|
|
35
|
+
connection_origin = "service"
|
|
36
|
+
transport = { type = "http", server_url = "${COMPANY_MCP_URL}" }
|
|
37
|
+
|
|
38
|
+
[[tools]]
|
|
39
|
+
type = "function"
|
|
40
|
+
name = "lookup_order"
|
|
41
|
+
description = "Look up an order authorized for the current shopper."
|
|
42
|
+
parameters = { type = "object", properties = { order_id = { type = "string" } }, required = ["order_id"], additionalProperties = false }
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
`model` is required. Use either inline `instructions` or `instructions_file`
|
|
46
|
+
(relative to the manifest). `tools` defaults to an empty array. Optional settings
|
|
47
|
+
are `reasoning`, `text`, `service_tier` and `metadata`, using the
|
|
48
|
+
[Agents configuration fields](https://rebyte.ai/docs/agents-api/configuration).
|
|
49
|
+
Unknown fields and invalid schemas fail before a request is sent. Model availability
|
|
50
|
+
and provider-specific settings are validated by the server.
|
|
51
|
+
|
|
52
|
+
Complete `${VARIABLE}` tool values are expanded from the environment. Instructions
|
|
53
|
+
retain literal examples. Do not place HTTP authorization headers in saved Agents;
|
|
54
|
+
use Session overrides or Vaults. For stdio MCP, omit `connection_origin` and supply
|
|
55
|
+
an absolute `cwd`. Skills, packages, files and network policy belong to the Session.
|
|
56
|
+
|
|
57
|
+
`apply` describes the entire saved configuration: omitted optional values clear
|
|
58
|
+
previous settings. It does not modify existing Sessions. Export preserves native
|
|
59
|
+
MCP definitions, omits redacted/null optional fields and removes stdio's derived
|
|
60
|
+
connection origin. Literal JSON null in schemas or request metadata cannot be
|
|
61
|
+
represented in TOML; export fails without writing. Use the Rebyte SDK for JSON.
|
|
62
|
+
|
|
63
|
+
See [migration](../../docs/migration.md) for retired manifest fields. The Commerce
|
|
64
|
+
repository has its own local business manifest and Python converter; that file is
|
|
65
|
+
not an input for this CLI.
|