@trusted-ai/xbot 0.1.0 â 0.1.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 +19 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="docs/logo.png" alt="xbot logo" width="180" style="margin-bottom: 0;" />
|
|
3
|
+
<p style="margin: 0;">
|
|
4
|
+
A Rust-native autonomous bot runtime for persistent task automation, vibe coding, and multi-channel message delivery. đ
|
|
5
|
+
</p>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<p align="center">
|
|
9
|
+
<a href="./README.md">English</a> |
|
|
10
|
+
<a href="./README-CN.md">įŽäŊ䏿</a> |
|
|
11
|
+
</p>
|
|
4
12
|
|
|
5
13
|
## ⨠Features
|
|
6
14
|
|
|
@@ -34,9 +42,11 @@ The screenshot highlights one of `xbot`'s core advantages: the main agent can us
|
|
|
34
42
|
### Install xbot:
|
|
35
43
|
|
|
36
44
|
```bash
|
|
37
|
-
|
|
45
|
+
npm install -g @trusted-ai/xbot
|
|
46
|
+
# or cargo install xbot
|
|
38
47
|
# or install a .deb from GitHub Releases
|
|
39
|
-
# or
|
|
48
|
+
# or install from source code
|
|
49
|
+
cargo install --path .
|
|
40
50
|
```
|
|
41
51
|
|
|
42
52
|
The installed command is `xbot`. See [Installation](./docs/INSTALLATION.md) for details.
|
|
@@ -63,7 +73,6 @@ You can configure them interactively:
|
|
|
63
73
|
|
|
64
74
|
```bash
|
|
65
75
|
xbot config --provider
|
|
66
|
-
# cargo run --release -- config --provider
|
|
67
76
|
```
|
|
68
77
|
|
|
69
78
|
Or manually edit `~/.xbot/config.json`. Refer to: [Getting Started](./docs/USAGE.md)
|
|
@@ -78,7 +87,6 @@ Use the interactive configuration tool:
|
|
|
78
87
|
|
|
79
88
|
```bash
|
|
80
89
|
xbot config --channel
|
|
81
|
-
# cargo run --release -- config --channel
|
|
82
90
|
```
|
|
83
91
|
|
|
84
92
|
List, configure, and log in to channels:
|
|
@@ -101,21 +109,23 @@ Use `channels setup <name>` to see step-by-step instructions for obtaining the r
|
|
|
101
109
|
|
|
102
110
|
## CLI usage
|
|
103
111
|
|
|
112
|
+
xbot working on current folder by default on CLI mode, add `--workspace` parameter to assign working directory for xbot.
|
|
113
|
+
|
|
104
114
|
### One-shot prompt:
|
|
105
115
|
|
|
106
116
|
```bash
|
|
107
117
|
# this will scan and init the project for following tasks (XBOT.md)
|
|
108
118
|
xbot chat /init
|
|
119
|
+
# xbot chat /init --workspace ANOTHER_PROJECT_PATH
|
|
109
120
|
# this will do one task a time
|
|
110
121
|
xbot chat "find bugs in this project"
|
|
111
|
-
# cargo run --release -- chat /init
|
|
112
122
|
```
|
|
113
123
|
|
|
114
124
|
### Interactive shell (TUI, rich terminal UI):
|
|
115
125
|
|
|
116
126
|
```bash
|
|
117
127
|
xbot repl
|
|
118
|
-
#
|
|
128
|
+
# xbot repl --workspace ANOTHER_PROJECT_PATH
|
|
119
129
|
```
|
|
120
130
|
|
|
121
131
|
The CLI includes:
|
|
@@ -138,7 +148,6 @@ xbot skills init my-custom-skill
|
|
|
138
148
|
|
|
139
149
|
```bash
|
|
140
150
|
xbot run
|
|
141
|
-
# cargo run --release -- run
|
|
142
151
|
```
|
|
143
152
|
|
|
144
153
|
`run` uses the configured global workspace by default. Use `xbot run --workspace .` when the backend should run against the current project workspace.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-ai/xbot",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Rust-native autonomous bot runtime for chat automation, tools, scheduled work, and multi-channel delivery",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/guoqingbao/xbot#readme",
|